Exception: Cuba::Tools::Api::ValidationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/cuba/tools/api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(errors) ⇒ ValidationError

Returns a new instance of ValidationError.



26
27
28
# File 'lib/cuba/tools/api.rb', line 26

def initialize errors
  @errors = errors
end

Instance Attribute Details

#errorsObject (readonly)

Returns the value of attribute errors.



24
25
26
# File 'lib/cuba/tools/api.rb', line 24

def errors
  @errors
end