Class: Insika::Workflow::Schema::Result
- Inherits:
-
Data
- Object
- Data
- Insika::Workflow::Schema::Result
- Defined in:
- lib/insika/workflow.rb
Overview
dry-schema-compatible result. errors is { "field.path" => ["message", …] }.
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors
86 87 88 |
# File 'lib/insika/workflow.rb', line 86 def errors @errors end |
Instance Method Details
#success? ⇒ Boolean
87 |
# File 'lib/insika/workflow.rb', line 87 def success? = errors.empty? |