Exception: VCAP::Services::Api::ServiceGatewayClient::UnexpectedResponse
- Inherits:
-
StandardError
- Object
- StandardError
- VCAP::Services::Api::ServiceGatewayClient::UnexpectedResponse
- Defined in:
- lib/services/api/clients/service_gateway_client.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(resp) ⇒ UnexpectedResponse
constructor
A new instance of UnexpectedResponse.
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
#response ⇒ Object (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 |