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