Class: LIS::Message::Header
Overview
Header Message
First message sent in any transaction, contains system information such as sender ID, receiver ID, address, etc.
Message Examples
1H|\^&||PASSWORD|DPC CIRRUS||Flanders^New^Jersey^07836||973-927-2828|N81|Your System||P|1|19940407120613
Message Structure
-
Record Type (H)
-
Delimiter Def.
-
Message Control ID
-
Password
-
Sending systems company name
-
Sending Systems address
-
Reserved
-
Senders Phone#
-
Communication parameters
-
Receiver ID
-
Comments/special instructions
-
Processing ID
-
Version#
-
Message Date + Time
Constant Summary
Constants included from ClassMethods
ClassMethods::CONVERSION_WRITER
Instance Method Summary collapse
-
#initialize(sender_name = "SenderID", receiver_name = "ReceiverID", password = "") ⇒ Header
constructor
A new instance of Header.
Methods inherited from Base
from_string, #to_message, #type_id
Methods included from ClassMethods
#default_fields, #field_count, #get_field_attributes, #get_index_for, #has_field, #set_field_attributes, #set_index_for, #type_id
Constructor Details
#initialize(sender_name = "SenderID", receiver_name = "ReceiverID", password = "") ⇒ Header
Returns a new instance of Header.
45 46 47 48 49 |
# File 'lib/lis/messages/header.rb', line 45 def initialize(sender_name = "SenderID", receiver_name = "ReceiverID", password = "") self.sender_name = sender_name self.receiver_name = receiver_name self.access_password = password end |