Exception: PrintfulApiException

Inherits:
PrintfulException show all
Defined in:
lib/printful_client.rb

Overview

Printful exception returned from the API

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#codeObject

Returns the value of attribute code.



143
144
145
# File 'lib/printful_client.rb', line 143

def code
  @code
end