Module: Picasa::Authenticatable
- Included in:
- API
- Defined in:
- lib/picasa/authenticatable.rb
Instance Method Summary collapse
-
#authenticated? ⇒ Boolean
Check whether user is authenticated.
- #credentials ⇒ Object
Instance Method Details
#authenticated? ⇒ Boolean
Check whether user is authenticated
16 17 18 |
# File 'lib/picasa/authenticatable.rb', line 16 def authenticated? credentials.values.all? end |
#credentials ⇒ Object
4 5 6 7 8 9 10 11 |
# File 'lib/picasa/authenticatable.rb', line 4 def credentials { :refresh_token => refresh_token, :access_token => access_token, :expires_in => expires_in, :issued_at => issued_at } end |