Method: Rack::OAuth2::Server::OAuthError#initialize
- Defined in:
- lib/rack/oauth2/server/errors.rb
#initialize(code, message) ⇒ OAuthError
Returns a new instance of OAuthError.
8 9 10 11 |
# File 'lib/rack/oauth2/server/errors.rb', line 8 def initialize(code, ) super @code = code.to_sym end |