Exception: CirroIOV2::Errors::ResponseNotJsonError

Inherits:
StandardError
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/cirro_io_v2/errors/response_not_json_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_errorObject (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