Module: Picasa

Extended by:
Config
Defined in:
lib/picasa.rb,
lib/picasa/api.rb,
lib/picasa/base.rb,
lib/picasa/error.rb,
lib/picasa/client.rb,
lib/picasa/config.rb,
lib/picasa/request.rb,
lib/picasa/version.rb,
lib/picasa/connection.rb,
lib/picasa/client/base.rb,
lib/picasa/client/media.rb,
lib/picasa/client/gallery.rb,
lib/picasa/authenticatable.rb,
lib/picasa/client/comments.rb

Defined Under Namespace

Modules: Authenticatable, Config, Connection, Request Classes: API, Base, Client, Error, Version

Constant Summary

Constants included from Config

Config::DEFAULT_ACCESS_TOKEN, Config::DEFAULT_AUTHORIZATION_URI, Config::DEFAULT_BASE_URI, Config::DEFAULT_CLIENT_ID, Config::DEFAULT_CLIENT_SECRET, Config::DEFAULT_EXPIRES_IN, Config::DEFAULT_ISSUED_AT, Config::DEFAULT_REDIRECT_URI, Config::DEFAULT_REFRESHED, Config::DEFAULT_REFRESH_TOKEN, Config::DEFAULT_SCOPE, Config::DEFAULT_TOKEN_CREDENTIAL_URI, Config::DEFAULT_USER_AGENT, Config::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Config

configure, extended, options, reset

Class Method Details

.method_missing(method, *args, &block) ⇒ Object

Delegate to Picasa::Client



15
16
17
18
# File 'lib/picasa.rb', line 15

def method_missing(method, *args, &block)
  return super unless new.respond_to?(method)
  new.send(method, *args, &block)
end

.new(options = {}) ⇒ Picasa::Client

Alias for Picasa::Client.new

Returns:



10
11
12
# File 'lib/picasa.rb', line 10

def new(options={})
  Picasa::Client.new(options)
end

.respond_to?(method, include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


20
21
22
# File 'lib/picasa.rb', line 20

def respond_to?(method, include_private=false)
  new.respond_to?(method, include_private) || super(method, include_private)
end