Class: SendMessageResult
- Inherits:
-
Object
- Object
- SendMessageResult
- Defined in:
- lib/meshx-plugin-sdk.rb
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
-
#exit_code ⇒ Object
Returns the value of attribute exit_code.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(response) ⇒ SendMessageResult
constructor
A new instance of SendMessageResult.
Constructor Details
#initialize(response) ⇒ SendMessageResult
Returns a new instance of SendMessageResult.
286 287 288 289 290 |
# File 'lib/meshx-plugin-sdk.rb', line 286 def initialize(response) @error = response.error @exit_code = response.exit_code @message = response.payload end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
284 285 286 |
# File 'lib/meshx-plugin-sdk.rb', line 284 def error @error end |
#exit_code ⇒ Object
Returns the value of attribute exit_code.
284 285 286 |
# File 'lib/meshx-plugin-sdk.rb', line 284 def exit_code @exit_code end |
#message ⇒ Object
Returns the value of attribute message.
284 285 286 |
# File 'lib/meshx-plugin-sdk.rb', line 284 def @message end |