Exception: AccessTokenAgent::UnsupportedTokenTypeError
- Defined in:
- lib/access_token_agent/unsupported_token_type_error.rb
Instance Method Summary collapse
-
#initialize(token_type) ⇒ UnsupportedTokenTypeError
constructor
A new instance of UnsupportedTokenTypeError.
Constructor Details
#initialize(token_type) ⇒ UnsupportedTokenTypeError
Returns a new instance of UnsupportedTokenTypeError.
3 4 5 |
# File 'lib/access_token_agent/unsupported_token_type_error.rb', line 3 def initialize(token_type) super("Expected token_type to be 'bearer', but was '#{token_type}'.") end |