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
15 16 17 |
# File 'lib/aspera/rest/call_error.rb', line 15 def data @context[:data] end |
#request ⇒ Object
7 8 9 |
# File 'lib/aspera/rest/call_error.rb', line 7 def request @context[:request] end |
#response ⇒ Object
11 12 13 |
# File 'lib/aspera/rest/call_error.rb', line 11 def response @context[:response] end |