Method: Mints::Errors::ValidationException#errors_hash

Defined in:
lib/errors.rb

#errors_hashObject



86
87
88
89
90
# File 'lib/errors.rb', line 86

def errors_hash
  {
    errors: response.keys.reduce([]) {|carry, error_key| carry + response[error_key]}
  }
end