Eddy
Installation
Without Rails
Add this line to your application's Gemfile:
gem 'eddy'
And then execute:
bundle
With Rails
Use eddy-rails.
Validation
- Ensures mandatory elements have assigned an value.
- Ensures values passed to
ID
elements are included in the associated code list. - Accepts
Time#utc
objects forDT
andTM
elements. - Makes sure element values aren't set above
max
length. - Pads strings and numbers to ensure
min
length is met.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/tcd/eddy.
License
The gem is available as open source under the terms of the MIT License.
Dependencies
Alternatives (in Ruby)
- irobayna/stupidedi - Ruby API for parsing and generating ASC X12 EDI transactions
- spiridonov/baldr - Lightweight EDI X12 translator
-
mjpete3/x12tcd/x12 - A gem to handle parsing and generation of ANSI X12 documents.
See Also
- michaelachrisco/Electronic-Interchange-Github-Resources - List of EDI (Mostly) Github Resources