Exception: Rack::OAuth2::Client::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Rack::OAuth2::Client::Error
- Defined in:
- lib/rack/oauth2/client/error.rb
Instance Attribute Summary (collapse)
-
- (Object) response
Returns the value of attribute response.
-
- (Object) status
Returns the value of attribute status.
Instance Method Summary (collapse)
-
- (Error) initialize(status, response)
constructor
A new instance of Error.
Constructor Details
- (Error) initialize(status, response)
A new instance of Error
6 7 8 9 10 |
# File 'lib/rack/oauth2/client/error.rb', line 6 def initialize(status, response) @status = status @response = response super response[:error_description] end |
Instance Attribute Details
- (Object) response
Returns the value of attribute response
5 6 7 |
# File 'lib/rack/oauth2/client/error.rb', line 5 def response @response end |
- (Object) status
Returns the value of attribute status
5 6 7 |
# File 'lib/rack/oauth2/client/error.rb', line 5 def status @status end |