Exception: CrowdFlower::APIError
- Inherits:
-
StandardError
- Object
- StandardError
- CrowdFlower::APIError
- Defined in:
- lib/crowdflower/base.rb
Instance Attribute Summary collapse
-
#details ⇒ Object
readonly
Returns the value of attribute details.
Instance Method Summary collapse
-
#initialize(hash) ⇒ APIError
constructor
A new instance of APIError.
Constructor Details
#initialize(hash) ⇒ APIError
Returns a new instance of APIError.
12 13 14 15 16 |
# File 'lib/crowdflower/base.rb', line 12 def initialize(hash) @details = hash super(hash.inspect) end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
10 11 12 |
# File 'lib/crowdflower/base.rb', line 10 def details @details end |