example/factory.rb in X12-0.1.0 vs example/factory.rb in X12-1.1.0
- old
+ new
@@ -23,10 +23,10 @@
#
require 'x12'
# Read message definition and create an actual parser
# by compiling .d12 file
-parser = X12::Parser.new('misc/997.d12')
+parser = X12::Parser.new('misc/997single.xml')
# Make a new 997 message
r = parser.factory('997')
#