class Parliament::Response::BaseResponse
An API response built from API data.
@since 0.7.5. @attr_reader [HTTPResponse] response the HTTPResponse from the API.
Attributes
response[R]
Public Class Methods
new(response)
click to toggle source
Creates a Parliament::BaseResponse object.
@param [HTTPResponse] response an HTTPResponse from the API.
# File lib/parliament/response/base_response.rb, line 13 def initialize(response) @response = response end