Exception: Aspera::Rest::CallError
- Inherits:
-
StandardError
- Object
- StandardError
- Aspera::Rest::CallError
- Defined in:
- lib/aspera/rest/call_error.rb
Overview
raised on error after REST call
Instance Method Summary collapse
- #data ⇒ Object
-
#initialize(context) ⇒ CallError
constructor
A new instance of CallError.
- #request ⇒ Object
- #response ⇒ Object
Constructor Details
Instance Method Details
#data ⇒ Object
18 19 20 |
# File 'lib/aspera/rest/call_error.rb', line 18 def data @context[:data] end |
#request ⇒ Object
10 11 12 |
# File 'lib/aspera/rest/call_error.rb', line 10 def request @context[:request] end |
#response ⇒ Object
14 15 16 |
# File 'lib/aspera/rest/call_error.rb', line 14 def response @context[:response] end |