Method: Booqable::Error#errors
- Defined in:
- lib/booqable/error.rb
#errors ⇒ Array<Hash>
Array of validation errors
201 202 203 204 205 206 207 |
# File 'lib/booqable/error.rb', line 201 def errors if data.is_a?(Hash) data[:errors] || [] else [] end end |