Exception: Dailymile::UnprocessableEntity
- Inherits:
-
DailymileError
- Object
- StandardError
- DailymileError
- Dailymile::UnprocessableEntity
- Defined in:
- lib/dailymile.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ UnprocessableEntity
constructor
A new instance of UnprocessableEntity.
Constructor Details
#initialize(errors) ⇒ UnprocessableEntity
Returns a new instance of UnprocessableEntity.
22 23 24 25 |
# File 'lib/dailymile.rb', line 22 def initialize(errors) @errors = errors super end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
20 21 22 |
# File 'lib/dailymile.rb', line 20 def errors @errors end |