Exception: CirroIOV2::Errors::ResponseNotJsonError
- Inherits:
-
StandardError
- Object
- StandardError
- CirroIOV2::Errors::ResponseNotJsonError
- Extended by:
- Forwardable
- Defined in:
- lib/cirro_io_v2/errors/response_not_json_error.rb
Instance Attribute Summary collapse
-
#faraday_error ⇒ Object
readonly
Returns the value of attribute faraday_error.
Instance Method Summary collapse
-
#initialize(faraday_error) ⇒ ResponseNotJsonError
constructor
A new instance of ResponseNotJsonError.
Constructor Details
#initialize(faraday_error) ⇒ ResponseNotJsonError
Returns a new instance of ResponseNotJsonError.
12 13 14 |
# File 'lib/cirro_io_v2/errors/response_not_json_error.rb', line 12 def initialize(faraday_error) @faraday_error = faraday_error end |
Instance Attribute Details
#faraday_error ⇒ Object (readonly)
Returns the value of attribute faraday_error.
10 11 12 |
# File 'lib/cirro_io_v2/errors/response_not_json_error.rb', line 10 def faraday_error @faraday_error end |