Exception: MoonropeClient::RequestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/moonrope_client/request_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#resultObject (readonly)

Returns the value of attribute result.



6
7
8
# File 'lib/moonrope_client/request_error.rb', line 6

def result
  @result
end