Skip to content

Commit

Permalink
Error response status updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fidelisrafael committed Aug 1, 2016
1 parent 1bd82d8 commit cb2fcc4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/nifty_services/configuration.rb
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ class Configuration
:forbidden => 403,
:not_found => 404,
:unprocessable_entity => 422,
# internal_server_error_error!
:internal_server_error => 500,
# keeping compatibility
# internal_server_error!
:internal_server => 500,
:not_implemented => 501
}

0 comments on commit cb2fcc4

Please sign in to comment.