Skip to content

Commit

Permalink
Fixed batch control company_id regex also
Browse files Browse the repository at this point in the history
  • Loading branch information
terryjray committed Feb 21, 2014
1 parent bc6ad40 commit 2dd27ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ach/records/batch_control.rb
Expand Up @@ -16,7 +16,7 @@ class BatchControl < Record
field :company_identification_code_designator, String, nil, '1',
/\A[0-9 ]\z/
field :company_identification, String,
nil, nil, /\A\d{9}\z/
nil, nil, /.{9}/

field :message_authentication_code, String,
lambda { |f| left_justify(f, 19)}, ''
Expand Down

0 comments on commit 2dd27ff

Please sign in to comment.