Exception: ClientApiBuilder::UnexpectedResponse

Inherits:
Error
  • Object
show all
Defined in:
lib/client-api-builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, response) ⇒ UnexpectedResponse

Returns a new instance of UnexpectedResponse.



8
9
10
11
# File 'lib/client-api-builder.rb', line 8

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



6
7
8
# File 'lib/client-api-builder.rb', line 6

def response
  @response
end