Exception: Bigcommerce::HttpError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/bigcommerce/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(headers) ⇒ HttpError

Returns a new instance of HttpError.


4
5
6
# File 'lib/bigcommerce/exception.rb', line 4

def initialize(headers)
  @response_headers = headers
end

Instance Attribute Details

#response_headersObject

Returns the value of attribute response_headers


3
4
5
# File 'lib/bigcommerce/exception.rb', line 3

def response_headers
  @response_headers
end