Class: Headache::Record::FileHeader

Inherits:
Base
  • Object
show all
Includes:
Definition::FileHeader
Defined in:
lib/headache/record/file_header.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Base

fields, #normalize_field_value, normalize_field_value, #parse, parse_fields, #parse_fields, parse_fields_normalize, #to_h

Constructor Details

#initialize(document = nil) ⇒ FileHeader

Returns a new instance of FileHeader.



10
11
12
# File 'lib/headache/record/file_header.rb', line 10

def initialize(document = nil)
  @document = document
end

Instance Attribute Details

#creation_dateObject

Returns the value of attribute creation_date.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def creation_date
  @creation_date
end

#creation_timeObject

Returns the value of attribute creation_time.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def creation_time
  @creation_time
end

#destinationObject

Returns the value of attribute destination.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def destination
  @destination
end

#destination_nameObject

Returns the value of attribute destination_name.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def destination_name
  @destination_name
end

#documentObject

Returns the value of attribute document.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def document
  @document
end

#id_modifierObject

Returns the value of attribute id_modifier.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def id_modifier
  @id_modifier
end

#originObject

Returns the value of attribute origin.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def origin
  @origin
end

#origin_nameObject

Returns the value of attribute origin_name.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def origin_name
  @origin_name
end

#reference_codeObject

Returns the value of attribute reference_code.



6
7
8
# File 'lib/headache/record/file_header.rb', line 6

def reference_code
  @reference_code
end