Class: RtrHttpGateway::DlrQueryResponse
- Inherits:
-
Object
- Object
- RtrHttpGateway::DlrQueryResponse
- Defined in:
- lib/http_gateway/rtr_http_gateway.rb
Overview
Represents The Delivery receipt status and reason code
Instance Attribute Summary collapse
-
#msg_id ⇒ Object
readonly
Returns the value of attribute msg_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, msg_id) ⇒ DlrQueryResponse
constructor
A new instance of DlrQueryResponse.
Constructor Details
#initialize(status, reason_code, msg_id) ⇒ DlrQueryResponse
Returns a new instance of DlrQueryResponse.
11 12 13 14 15 |
# File 'lib/http_gateway/rtr_http_gateway.rb', line 11 def initialize(status, reason_code, msg_id) @status = status @reason_code = reason_code @msg_id = msg_id end |
Instance Attribute Details
#msg_id ⇒ Object (readonly)
Returns the value of attribute msg_id.
16 17 18 |
# File 'lib/http_gateway/rtr_http_gateway.rb', line 16 def msg_id @msg_id end |
#reason_code ⇒ Object (readonly)
Returns the value of attribute reason_code.
16 17 18 |
# File 'lib/http_gateway/rtr_http_gateway.rb', line 16 def reason_code @reason_code end |
#status ⇒ Object (readonly)
Returns the value of attribute status.
16 17 18 |
# File 'lib/http_gateway/rtr_http_gateway.rb', line 16 def status @status end |