Class: EMIS::Models::UnitInformation
- Inherits:
-
Object
- Object
- EMIS::Models::UnitInformation
- Defined in:
- lib/emis/models/unit_information.rb
Overview
EMIS unit information data
Instance Attribute Summary collapse
-
#assigned_date ⇒ Date
Date when the batch file that contained the unit identification code update was created.
-
#identification_code ⇒ String
Unit Identification Code.
-
#segment_identifier ⇒ String
Identifier that is used to ensure a unique key on each unit identification code record.
-
#uic_type_code ⇒ String
Code that represents a specific kind of unit identification code.
Instance Attribute Details
#assigned_date ⇒ Date
Returns date when the batch file that contained the unit identification code update was created.
21 22 23 24 25 26 27 28 |
# File 'lib/emis/models/unit_information.rb', line 21 class UnitInformation include Virtus.model attribute :segment_identifier, String attribute :identification_code, String attribute :uic_type_code, String attribute :assigned_date, Date end |
#identification_code ⇒ String
Returns Unit Identification Code. The data is received monthly from data feeds for position reporting and updating DEERS.
21 22 23 24 25 26 27 28 |
# File 'lib/emis/models/unit_information.rb', line 21 class UnitInformation include Virtus.model attribute :segment_identifier, String attribute :identification_code, String attribute :uic_type_code, String attribute :assigned_date, Date end |
#segment_identifier ⇒ String
Returns identifier that is used to ensure a unique key on each unit identification code record.
21 22 23 24 25 26 27 28 |
# File 'lib/emis/models/unit_information.rb', line 21 class UnitInformation include Virtus.model attribute :segment_identifier, String attribute :identification_code, String attribute :uic_type_code, String attribute :assigned_date, Date end |
#uic_type_code ⇒ String
Returns code that represents a specific kind of unit identification code.
S => Assigned
T => Attached.
21 22 23 24 25 26 27 28 |
# File 'lib/emis/models/unit_information.rb', line 21 class UnitInformation include Virtus.model attribute :segment_identifier, String attribute :identification_code, String attribute :uic_type_code, String attribute :assigned_date, Date end |