Class: Courier::SendMessageResponse
- Inherits:
-
Object
- Object
- Courier::SendMessageResponse
- Defined in:
- lib/trycourier.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#request_id ⇒ Object
readonly
Returns the value of attribute request_id.
Instance Method Summary collapse
-
#initialize(code, request_id) ⇒ SendMessageResponse
constructor
A new instance of SendMessageResponse.
Constructor Details
#initialize(code, request_id) ⇒ SendMessageResponse
Returns a new instance of SendMessageResponse.
35 36 37 38 |
# File 'lib/trycourier.rb', line 35 def initialize(code, request_id) @code = code @request_id = request_id end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
32 33 34 |
# File 'lib/trycourier.rb', line 32 def code @code end |
#request_id ⇒ Object (readonly)
Returns the value of attribute request_id.
33 34 35 |
# File 'lib/trycourier.rb', line 33 def request_id @request_id end |