Exception: AqumulateAPI::RequestError
- Inherits:
-
StandardError
- Object
- StandardError
- AqumulateAPI::RequestError
- Defined in:
- lib/aqumulate_api/errors.rb
Instance Attribute Summary collapse
-
#request ⇒ Object
readonly
Returns the value of attribute request.
Instance Method Summary collapse
-
#initialize(msg, request) ⇒ RequestError
constructor
A new instance of RequestError.
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
#request ⇒ Object (readonly)
Returns the value of attribute request.
12 13 14 |
# File 'lib/aqumulate_api/errors.rb', line 12 def request @request end |