Class: Empp::MsgConnectResp
- Defined in:
- lib/empp/msg_connect_resp.rb
Instance Attribute Summary collapse
-
#status ⇒ Object
Returns the value of attribute status.
Attributes inherited from EmppBase
#command_id, #sequence_id, #total_length
Instance Method Summary collapse
-
#initialize ⇒ MsgConnectResp
constructor
A new instance of MsgConnectResp.
- #to_s ⇒ Object
Constructor Details
#initialize ⇒ MsgConnectResp
Returns a new instance of MsgConnectResp.
10 11 12 13 |
# File 'lib/empp/msg_connect_resp.rb', line 10 def initialize @command_id = Constants::EMPP_CONNECT_RESP @status = nil end |
Instance Attribute Details
#status ⇒ Object
Returns the value of attribute status.
8 9 10 |
# File 'lib/empp/msg_connect_resp.rb', line 8 def status @status end |
Instance Method Details
#to_s ⇒ Object
15 16 17 18 |
# File 'lib/empp/msg_connect_resp.rb', line 15 def to_s str = super str + ", status = #{@status}" end |