Exception: MyJohnDeereApi::AccessTokenError
- Inherits:
-
StandardError
- Object
- StandardError
- MyJohnDeereApi::AccessTokenError
- 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
-
#initialize(message = "A valid oAuth Access Token must be supplied to use this feature.") ⇒ AccessTokenError
constructor
A new instance of AccessTokenError.
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( = "A valid oAuth Access Token must be supplied to use this feature.") super end |