Exception: Dailymile::UnprocessableEntity

Inherits:
DailymileError show all
Defined in:
lib/dailymile.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#errorsObject (readonly)

Returns the value of attribute errors.



20
21
22
# File 'lib/dailymile.rb', line 20

def errors
  @errors
end