Exception: MyJohnDeereApi::AccessTokenError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/my_john_deere_api/errors/access_token_error.rb

Overview

This error is used in a context that will fail in the absence of a valid oAuth access token. We have classes that may only need access tokens for some use cases.

Instance Method Summary collapse

Constructor Details

#initialize(message = "A valid oAuth Access Token must be supplied to use this feature.") ⇒ AccessTokenError

Returns a new instance of AccessTokenError.



8
9
10
# File 'lib/my_john_deere_api/errors/access_token_error.rb', line 8

def initialize(message = "A valid oAuth Access Token must be supplied to use this feature.")
  super
end