Skip to content

Commit

Permalink
Fix reference to wrong namespace (GH-12)
Browse files Browse the repository at this point in the history
  • Loading branch information
kputnam committed Jun 17, 2013
1 parent 23ef00e commit 57dee09
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 14 deletions.
3 changes: 3 additions & 0 deletions bin/edi-ed
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ require "pp"
# This will be auto-enabled when $stdout.tty?, but -C forces color output
require "term/ansicolor" if ARGV.delete("-C")

# config = Stupidedi::Config.default
# config = Stupidedi::Config.contrib
config = Stupidedi::Config.hipaa

parser = Stupidedi::Builder::StateMachine.build(config)
start = Time.now

Expand Down
3 changes: 3 additions & 0 deletions bin/edi-pp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,10 @@ GC.disable
# This will be auto-enabled when $stdout.tty?, but -C forces color output
require "term/ansicolor" if ARGV.delete("-C")

# config = Stupidedi::Config.default
# config = Stupidedi::Config.contrib
config = Stupidedi::Config.hipaa

parser = Stupidedi::Builder::StateMachine.build(config)
start = Time.now

Expand Down
28 changes: 14 additions & 14 deletions lib/stupidedi/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -103,20 +103,20 @@ def hipaa(base = default)
def contrib(base = default)
base.customize do |c|
c.transaction_set.customize do |x|
x.register("004010", "PO", "850") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::PO850 }
x.register("004010", "OW", "940") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::OW940 }
x.register("004010", "AR", "943") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::AR943 }
x.register("004010", "RE", "944") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::RE944 }
x.register("004010", "SW", "945") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::SW945 }
x.register("004010", "FA", "997") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::FA997 }

#.register("004010", "SM", "204") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::SM204 }
#.register("004010", "QM", "214") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::QM214 }
#.register("004010", "GF", "990") { Stupidedi::Versions::FunctionalGroups::FortyTen::TransactionSetDefs::GF990 }

x.register("004010", "SM", "204") { Stupidedi::Guides::FortyTen::X12::SM204 }
x.register("004010", "QM", "214") { Stupidedi::Guides::FortyTen::X12::QM214 }
x.register("004010", "GF", "990") { Stupidedi::Guides::FortyTen::X12::GF990 }
x.register("004010", "PO", "850") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::PO850 }
x.register("004010", "OW", "940") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::OW940 }
x.register("004010", "AR", "943") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::AR943 }
x.register("004010", "RE", "944") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::RE944 }
x.register("004010", "SW", "945") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::SW945 }
x.register("004010", "FA", "997") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::FA997 }

x.register("004010", "SM", "204") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::SM204 }
x.register("004010", "QM", "214") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::QM214 }
x.register("004010", "GF", "990") { Stupidedi::Contrib::FortyTen::TransactionSetDefs::GF990 }

# x.register("004010", "SM", "204") { Stupidedi::Contrib::FortyTen::Guides::SM204 }
# x.register("004010", "QM", "214") { Stupidedi::Contrib::FortyTen::Guides::QM214 }
# x.register("004010", "GF", "990") { Stupidedi::Contrib::FortyTen::Guides::GF990 }
end
end
end
Expand Down

0 comments on commit 57dee09

Please sign in to comment.