Exception: VCAP::Services::Api::ServiceGatewayClient::UnexpectedResponse

Inherits:
StandardError
  • Object
show all
Defined in:
lib/services/api/clients/service_gateway_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(resp) ⇒ UnexpectedResponse

Returns a new instance of UnexpectedResponse.



19
20
21
# File 'lib/services/api/clients/service_gateway_client.rb', line 19

def initialize(resp)
  @response = resp
end

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



17
18
19
# File 'lib/services/api/clients/service_gateway_client.rb', line 17

def response
  @response
end