module ACH class File::Header < Record fields :record_type, :priority_code, :immediate_dest, :immediate_origin, :date, :time, :file_id_modifier, :record_size, :blocking_factor, :format_code, :immediate_dest_name, :immediate_origin_name, :reference_code defaults :record_type => 1, :priority_code => 1, :reference_code => '', :date => lambda{ Time.now.strftime("%y%m%d") }, :time => lambda{ Time.now.strftime("%H%M") }, :file_id_modifier => 'A', :record_size => 94, :blocking_factor => 10, :format_code => 1, :reference_code => '' end end