Class: Courier::SendResponse
- Inherits:
-
Object
- Object
- Courier::SendResponse
- Defined in:
- lib/trycourier.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#message_id ⇒ Object
readonly
Returns the value of attribute message_id.
Instance Method Summary collapse
-
#initialize(code, message_id) ⇒ SendResponse
constructor
A new instance of SendResponse.
Constructor Details
#initialize(code, message_id) ⇒ SendResponse
Returns a new instance of SendResponse.
25 26 27 28 |
# File 'lib/trycourier.rb', line 25 def initialize(code, ) @code = code @message_id = end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
22 23 24 |
# File 'lib/trycourier.rb', line 22 def code @code end |
#message_id ⇒ Object (readonly)
Returns the value of attribute message_id.
23 24 25 |
# File 'lib/trycourier.rb', line 23 def @message_id end |