Exception: Cuba::Tools::Api::ValidationError
- Defined in:
- lib/cuba/tools/api.rb
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(errors) ⇒ ValidationError
constructor
A new instance of ValidationError.
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
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
24 25 26 |
# File 'lib/cuba/tools/api.rb', line 24 def errors @errors end |