Exception: Groupon::GrouponError
- Inherits:
-
StandardError
- Object
- StandardError
- Groupon::GrouponError
- Defined in:
- lib/groupon.rb
Overview
Contains information for errors returned by the API
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ GrouponError
constructor
A new instance of GrouponError.
Constructor Details
#initialize(data) ⇒ GrouponError
Returns a new instance of GrouponError.
44 45 46 47 |
# File 'lib/groupon.rb', line 44 def initialize(data) @data = data super end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
42 43 44 |
# File 'lib/groupon.rb', line 42 def data @data end |