Exception: PDC::ResponseError
- Extended by:
- Forwardable
- Defined in:
- lib/pdc/http/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(args = {}) ⇒ ResponseError
Returns a new instance of ResponseError.
12 13 14 15 |
# File 'lib/pdc/http/errors.rb', line 12 def initialize(args = {}) @response = args[:response] @args = args end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
10 11 12 |
# File 'lib/pdc/http/errors.rb', line 10 def response @response end |