Class: RtrPushApi::PushApiResponse
- Inherits:
-
Object
- Object
- RtrPushApi::PushApiResponse
- Defined in:
- lib/push_api/rtr_push_api.rb
Overview
Represents The Push Api status and message id
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#msg_id ⇒ Object
readonly
Returns the value of attribute msg_id.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, msg_id, push_id) ⇒ PushApiResponse
constructor
A new instance of PushApiResponse.
Constructor Details
#initialize(status, msg_id, push_id) ⇒ PushApiResponse
Returns a new instance of PushApiResponse.
9 10 11 12 13 |
# File 'lib/push_api/rtr_push_api.rb', line 9 def initialize(status, msg_id, push_id) @status = status @msg_id = msg_id @id = push_id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
14 15 16 |
# File 'lib/push_api/rtr_push_api.rb', line 14 def id @id end |
#msg_id ⇒ Object (readonly)
Returns the value of attribute msg_id.
14 15 16 |
# File 'lib/push_api/rtr_push_api.rb', line 14 def msg_id @msg_id end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
14 15 16 |
# File 'lib/push_api/rtr_push_api.rb', line 14 def status @status end |