Exception: PipelineDealsApi::HttpClient::ResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- PipelineDealsApi::HttpClient::ResponseError
- Defined in:
- lib/pipeline_deals_api/http_client.rb
Direct Known Subclasses
BadGatewayError, BadRequestError, ClientError, ConflictError, ForbiddenError, GatewayTimeoutError, InternalServerError, MethodNotAllowed, NotFoundError, PaymentRequiredError, RequestTimeoutError, RequestURITooLongError, ServerError, ServiceUnavailableError, TooManyRequestsError, UnauthorizedError, UnknownError, UnprocessableEntityError
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(msg = '', response) ⇒ ResponseError
constructor
A new instance of ResponseError.
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
#response ⇒ Object (readonly)
Returns the value of attribute response.
121 122 123 |
# File 'lib/pipeline_deals_api/http_client.rb', line 121 def response @response end |