Class: ShopifyAPI::GraphQL::Tiny::HTTPError
- Defined in:
- lib/shopify_api/graphql/tiny.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(message, code) ⇒ HTTPError
constructor
A new instance of HTTPError.
Constructor Details
#initialize(message, code) ⇒ HTTPError
Returns a new instance of HTTPError.
32 33 34 35 |
# File 'lib/shopify_api/graphql/tiny.rb', line 32 def initialize(, code) super() @code = code end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
30 31 32 |
# File 'lib/shopify_api/graphql/tiny.rb', line 30 def code @code end |