Class: Headache::Record::FileHeader
- Includes:
- Definition::FileHeader
- Defined in:
- lib/headache/record/file_header.rb
Instance Attribute Summary collapse
-
#creation_date ⇒ Object
Returns the value of attribute creation_date.
-
#creation_time ⇒ Object
Returns the value of attribute creation_time.
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#destination_name ⇒ Object
Returns the value of attribute destination_name.
-
#document ⇒ Object
Returns the value of attribute document.
-
#id_modifier ⇒ Object
Returns the value of attribute id_modifier.
-
#origin ⇒ Object
Returns the value of attribute origin.
-
#origin_name ⇒ Object
Returns the value of attribute origin_name.
-
#reference_code ⇒ Object
Returns the value of attribute reference_code.
Instance Method Summary collapse
-
#initialize(document = nil) ⇒ FileHeader
constructor
A new instance of FileHeader.
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_date ⇒ Object
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_time ⇒ Object
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 |
#destination ⇒ Object
Returns the value of attribute destination.
6 7 8 |
# File 'lib/headache/record/file_header.rb', line 6 def destination @destination end |
#destination_name ⇒ Object
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 |
#document ⇒ Object
Returns the value of attribute document.
6 7 8 |
# File 'lib/headache/record/file_header.rb', line 6 def document @document end |
#id_modifier ⇒ Object
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 |
#origin ⇒ Object
Returns the value of attribute origin.
6 7 8 |
# File 'lib/headache/record/file_header.rb', line 6 def origin @origin end |
#origin_name ⇒ Object
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_code ⇒ Object
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 |