Exception: ShopifyAPI::Errors::HttpResponseError
- Inherits:
-
StandardError
- Object
- StandardError
- ShopifyAPI::Errors::HttpResponseError
- Extended by:
- T::Sig
- Defined in:
- lib/shopify_api/errors/http_response_error.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code:) ⇒ HttpResponseError
constructor
A new instance of HttpResponseError.
Constructor Details
#initialize(code:) ⇒ HttpResponseError
Returns a new instance of HttpResponseError.
13 14 15 16 |
# File 'lib/shopify_api/errors/http_response_error.rb', line 13 def initialize(code:) super @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
10 11 12 |
# File 'lib/shopify_api/errors/http_response_error.rb', line 10 def code @code end |