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.
23 24 25 26 27 |
# File 'lib/crowdflower/base.rb', line 23 def initialize(hash) @details = hash super(hash.inspect) end |
Instance Attribute Details
#details ⇒ Object (readonly)
Returns the value of attribute details.
21 22 23 |
# File 'lib/crowdflower/base.rb', line 21 def details @details end |