Exception: Quintype::API::ClientException

Inherits:
Exception
  • Object
show all
Defined in:
lib/quintype/api/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, response) ⇒ ClientException

Returns a new instance of ClientException.



5
6
7
8
# File 'lib/quintype/api/client.rb', line 5

def initialize(message, response)
  super(message)
  @response = response
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



3
4
5
# File 'lib/quintype/api/client.rb', line 3

def response
  @response
end