Class: RtrPushApi::DlrQueryResponse
- Inherits:
-
Object
- Object
- RtrPushApi::DlrQueryResponse
- Defined in:
- lib/push_api/rtr_push_api.rb
Overview
Represents The Delivery receipt status and reason code
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#reason_code ⇒ Object
readonly
Returns the value of attribute reason_code.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
Instance Method Summary collapse
-
#initialize(status, reason_code, push_id) ⇒ DlrQueryResponse
constructor
A new instance of DlrQueryResponse.
Constructor Details
#initialize(status, reason_code, push_id) ⇒ DlrQueryResponse
Returns a new instance of DlrQueryResponse.
19 20 21 22 23 |
# File 'lib/push_api/rtr_push_api.rb', line 19 def initialize(status, reason_code, push_id) @status = status @reason_code = reason_code @id = push_id end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
24 25 26 |
# File 'lib/push_api/rtr_push_api.rb', line 24 def id @id end |
#reason_code ⇒ Object (readonly)
Returns the value of attribute reason_code.
24 25 26 |
# File 'lib/push_api/rtr_push_api.rb', line 24 def reason_code @reason_code end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
24 25 26 |
# File 'lib/push_api/rtr_push_api.rb', line 24 def status @status end |