Class: AuthenticationTokenGenerator
- Includes:
- Singleton
- Defined in:
- lib/generators/authentication_token_generator.rb
Overview
Class used to generate the authentication token
Instance Method Summary collapse
-
#generate(picasa_id, password) ⇒ Object
Generates the authentication token based on the picasa id and the password informed.
Instance Method Details
#generate(picasa_id, password) ⇒ Object
Generates the authentication token based on the picasa id and the password informed.
9 10 11 |
# File 'lib/generators/authentication_token_generator.rb', line 9 def generate picasa_id, password Picasa::Authentication.authenticate picasa_id, password end |