Exception: PipelineDealsApi::HttpClient::ResponseError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pipeline_deals_api/http_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg = '', response) ⇒ ResponseError

Returns a new instance of ResponseError.



123
124
125
126
# File 'lib/pipeline_deals_api/http_client.rb', line 123

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



121
122
123
# File 'lib/pipeline_deals_api/http_client.rb', line 121

def response
  @response
end