Skip to content

Commit

Permalink
header record type
Browse files Browse the repository at this point in the history
  • Loading branch information
ianwdunlop authored and davidjrice committed Apr 2, 2024
1 parent bf314fe commit 73c8154
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions lib/atco/header.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
module Atco

class Header

attr_accessor :file_type, :version, :file_originator, :source_product, :production_datetime

def initialize(data)
@file_type = data[:file_type]
@version = data[:version]
@file_originator = data[:file_originator]
@source_product = data[:source_product]
@production_datetime = data[:production_datetime]
end

end
end

0 comments on commit 73c8154

Please sign in to comment.