Class: GetMessageResult
- Inherits:
-
Object
- Object
- GetMessageResult
- 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) ⇒ GetMessageResult
constructor
A new instance of GetMessageResult.
Constructor Details
#initialize(response) ⇒ GetMessageResult
Returns a new instance of GetMessageResult.
275 276 277 278 279 |
# File 'lib/meshx-plugin-sdk.rb', line 275 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.
273 274 275 |
# File 'lib/meshx-plugin-sdk.rb', line 273 def error @error end |
#exit_code ⇒ Object
Returns the value of attribute exit_code.
273 274 275 |
# File 'lib/meshx-plugin-sdk.rb', line 273 def exit_code @exit_code end |
#message ⇒ Object
Returns the value of attribute message.
273 274 275 |
# File 'lib/meshx-plugin-sdk.rb', line 273 def @message end |