Exception: Crunchbase::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- Crunchbase::ResponseError
- Defined in:
- lib/crunchbase/exception.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(message, response) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(message, response) ⇒ ResponseError
Returns a new instance of ResponseError.
14 15 16 17 |
# File 'lib/crunchbase/exception.rb', line 14 def initialize(, response) @response = response super() end |
Instance Attribute Details
#response ⇒ Object (readonly)
Returns the value of attribute response.
12 13 14 |
# File 'lib/crunchbase/exception.rb', line 12 def response @response end |