Exception: ApiClient::ResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/uffizzi/clients/api/api_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(response) ⇒ ResponseError

Returns a new instance of ResponseError.



10
11
12
13
14
# File 'lib/uffizzi/clients/api/api_client.rb', line 10

def initialize(response)
  @response = response

  super(response.to_s)
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



8
9
10
# File 'lib/uffizzi/clients/api/api_client.rb', line 8

def response
  @response
end