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.
276 277 278 279 280 |
# File 'lib/meshx-plugin-sdk.rb', line 276 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.
274 275 276 |
# File 'lib/meshx-plugin-sdk.rb', line 274 def error @error end |
#exit_code ⇒ Object
Returns the value of attribute exit_code.
274 275 276 |
# File 'lib/meshx-plugin-sdk.rb', line 274 def exit_code @exit_code end |
#message ⇒ Object
Returns the value of attribute message.
274 275 276 |
# File 'lib/meshx-plugin-sdk.rb', line 274 def @message end |