Exception: Poke::API::Errors::GoogleAuthenticationFailure

Inherits:
StandardError
  • Object
show all
Defined in:
lib/poke-api/errors.rb

Instance Method Summary collapse

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