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