Class: ActiveRecord::RecordNotSaved
- Inherits:
-
Object
- Object
- ActiveRecord::RecordNotSaved
- Defined in:
- app/api/core/service/error_handling.rb
Instance Method Summary collapse
Instance Method Details
#api_error(response) ⇒ Object
91 92 93 |
# File 'app/api/core/service/error_handling.rb', line 91 def api_error(response) response.content_error(422, ) end |