Exception: AccessTokenAgent::UnsupportedTokenTypeError

Inherits:
Error
  • Object
show all
Defined in:
lib/access_token_agent/unsupported_token_type_error.rb

Instance Method Summary collapse

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