Class: Nylas::NoAuthToken

Inherits:
Error
  • Object
show all
Defined in:
lib/nylas/errors.rb

Overview

Indicates that a given method needs an access token to work.

Instance Method Summary collapse

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