Exception: MyJohnDeereApi::TypeMismatchError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/my_john_deere_api/errors/type_mismatch_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 = "Record type does not match what was expected") ⇒ TypeMismatchError

Returns a new instance of TypeMismatchError.



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

def initialize(message = "Record type does not match what was expected")
  super
end