Class: FileReadResult
- Inherits:
-
Object
- Object
- FileReadResult
- 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.
Instance Method Summary collapse
-
#initialize(response) ⇒ FileReadResult
constructor
A new instance of FileReadResult.
Constructor Details
#initialize(response) ⇒ FileReadResult
Returns a new instance of FileReadResult.
267 268 269 270 |
# File 'lib/meshx-plugin-sdk.rb', line 267 def initialize(response) @error = response.error @exit_code = response.exit_code end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
265 266 267 |
# File 'lib/meshx-plugin-sdk.rb', line 265 def error @error end |
#exit_code ⇒ Object
Returns the value of attribute exit_code.
265 266 267 |
# File 'lib/meshx-plugin-sdk.rb', line 265 def exit_code @exit_code end |