Exception: PrintfulApiException
- Inherits:
-
PrintfulException
- Object
- RuntimeError
- PrintfulException
- PrintfulApiException
- Defined in:
- lib/printful_client.rb
Overview
Printful exception returned from the API
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Method Summary collapse
-
#initialize(code) ⇒ PrintfulApiException
constructor
A new instance of PrintfulApiException.
Constructor Details
#initialize(code) ⇒ PrintfulApiException
Returns a new instance of PrintfulApiException.
140 141 142 |
# File 'lib/printful_client.rb', line 140 def initialize(code) @code = code end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
143 144 145 |
# File 'lib/printful_client.rb', line 143 def code @code end |