Exception: AqumulateAPI::RequestError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/aqumulate_api/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, request) ⇒ RequestError

Returns a new instance of RequestError.



14
15
16
17
# File 'lib/aqumulate_api/errors.rb', line 14

def initialize(msg, request)
  @request = request
  super msg
end

Instance Attribute Details

#requestObject (readonly)

Returns the value of attribute request.



12
13
14
# File 'lib/aqumulate_api/errors.rb', line 12

def request
  @request
end