Exception: Cb::ApiResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/cb/exceptions.rb

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



15
16
17
# File 'lib/cb/exceptions.rb', line 15

def code
  @code
end

#raw_responseObject

Returns the value of attribute raw_response.



15
16
17
# File 'lib/cb/exceptions.rb', line 15

def raw_response
  @raw_response
end

#responseObject

Returns the value of attribute response.



15
16
17
# File 'lib/cb/exceptions.rb', line 15

def response
  @response
end