class Guevara::Addenda

Public Instance Methods

default_attributes() click to toggle source
# File lib/guevara/addenda.rb, line 6
def default_attributes
  {
    number: 1 # we should not have more than 1 addenda
  }
end
fields() click to toggle source
# File lib/guevara/addenda.rb, line 12
def fields
  ["7",                         # row type
   "05",                        # addenda type
   "%<additional_info>-80.80s",
   "%<number>04d",
   "%<entry_number>07d"]
end