Class: Nylas::NoAuthToken
Overview
Indicates that a given method needs an access token to work.
Instance Method Summary collapse
-
#initialize(method_name) ⇒ NoAuthToken
constructor
A new instance of NoAuthToken.
Constructor Details
#initialize(method_name) ⇒ NoAuthToken
Returns a new instance of NoAuthToken.
28 29 30 |
# File 'lib/nylas/errors.rb', line 28 def initialize(method_name) super "No access token was provided and the #{method_name} method requires one" end |