Method: Doorkeeper::OAuth::ErrorResponse#status
- Defined in:
- lib/doorkeeper/oauth/error_response.rb
#status ⇒ Object
51 52 53 54 55 56 57 |
# File 'lib/doorkeeper/oauth/error_response.rb', line 51 def status if name == :invalid_client || name == :unauthorized_client :unauthorized else :bad_request end end |