Class: BigCommerce::ManagementAPI::ResponseError
- Defined in:
- lib/big_commerce/management_api/endpoint.rb
Instance Attribute Summary collapse
-
#headers ⇒ Object
readonly
Returns the value of attribute headers.
Instance Method Summary collapse
-
#initialize(data, headers) ⇒ ResponseError
constructor
A new instance of ResponseError.
Constructor Details
#initialize(data, headers) ⇒ ResponseError
Returns a new instance of ResponseError.
44 45 46 47 48 49 |
# File 'lib/big_commerce/management_api/endpoint.rb', line 44 def initialize(data, headers) @headers = ResponseHeaders.new(headers) @data = data super (data) end |
Instance Attribute Details
#headers ⇒ Object (readonly)
Returns the value of attribute headers.
42 43 44 |
# File 'lib/big_commerce/management_api/endpoint.rb', line 42 def headers @headers end |