Exception: Poke::API::Errors::GoogleAuthenticationFailure
- Inherits:
-
StandardError
- Object
- StandardError
- Poke::API::Errors::GoogleAuthenticationFailure
- Defined in:
- lib/poke-api/errors.rb
Instance Method Summary collapse
-
#initialize(token, response) ⇒ GoogleAuthenticationFailure
constructor
A new instance of GoogleAuthenticationFailure.
Constructor Details
#initialize(token, response) ⇒ GoogleAuthenticationFailure
Returns a new instance of GoogleAuthenticationFailure.
29 30 31 |
# File 'lib/poke-api/errors.rb', line 29 def initialize(token, response) super("Unable to login to Google, could not find => #{token} in #{response}") end |