Exception: MoonropeClient::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- MoonropeClient::RequestError
- Defined in:
- lib/moonrope_client/request_error.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
Instance Method Summary collapse
-
#initialize(result) ⇒ RequestError
constructor
A new instance of RequestError.
Constructor Details
#initialize(result) ⇒ RequestError
Returns a new instance of RequestError.
3 4 5 |
# File 'lib/moonrope_client/request_error.rb', line 3 def initialize(result) @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/moonrope_client/request_error.rb', line 6 def result @result end |