Exception: SacsRuby::TokenRequestError
- Defined in:
- lib/sacs_ruby/error.rb
Overview
Token Authentication Error
Instance Method Summary collapse
-
#initialize(response) ⇒ TokenRequestError
constructor
A new instance of TokenRequestError.
Methods inherited from Error
Constructor Details
#initialize(response) ⇒ TokenRequestError
Returns a new instance of TokenRequestError.
40 41 42 43 44 45 |
# File 'lib/sacs_ruby/error.rb', line 40 def initialize(response) @response = { 'type' => response['error'], 'message' => response['error_description'] } end |