Exception: Etsy::EtsyJSONInvalid
- Inherits:
-
StandardError
- Object
- StandardError
- Etsy::EtsyJSONInvalid
- Defined in:
- lib/etsy/response.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
readonly
Returns the value of attribute code.
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(args) ⇒ EtsyJSONInvalid
constructor
A new instance of EtsyJSONInvalid.
Constructor Details
#initialize(args) ⇒ EtsyJSONInvalid
Returns a new instance of EtsyJSONInvalid.
11 12 13 14 |
# File 'lib/etsy/response.rb', line 11 def initialize(args) @code = args[:code] @data = args[:data] end |
Instance Attribute Details
#code ⇒ Object (readonly)
Returns the value of attribute code.
10 11 12 |
# File 'lib/etsy/response.rb', line 10 def code @code end |
#data ⇒ Object (readonly)
Returns the value of attribute data.
10 11 12 |
# File 'lib/etsy/response.rb', line 10 def data @data end |