Module: Orkut

Extended by:
Config
Defined in:
lib/orkut.rb,
lib/orkut/api.rb,
lib/orkut/base.rb,
lib/orkut/error.rb,
lib/orkut/client.rb,
lib/orkut/config.rb,
lib/orkut/request.rb,
lib/orkut/version.rb,
lib/orkut/connection.rb,
lib/orkut/client/base.rb,
lib/orkut/client/albums.rb,
lib/orkut/client/people.rb,
lib/orkut/client/videos.rb,
lib/orkut/authenticatable.rb,
lib/orkut/client/comments.rb,
lib/orkut/client/messages.rb,
lib/orkut/constants/group.rb,
lib/orkut/client/timelines.rb,
lib/orkut/constants/action.rb,
lib/orkut/constants/fields.rb,
lib/orkut/constants/params.rb,
lib/orkut/client/mediaitems.rb,
lib/orkut/constants/collection.rb,
lib/orkut/constants/method_names.rb,
lib/orkut/constants/activity_type.rb,
lib/orkut/constants/internal_constants.rb

Defined Under Namespace

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

Constant Summary

Constants included from Config

Config::DEFAULT_ACCESS_TOKEN, Config::DEFAULT_ACCESS_TOKEN_PATH, Config::DEFAULT_AUTHORIZE_PATH, Config::DEFAULT_CLIENT_ID, Config::DEFAULT_CLIENT_SECRET, Config::DEFAULT_CODE, Config::DEFAULT_CONSUMER_KEY, Config::DEFAULT_CONSUMER_SECRET, Config::DEFAULT_ENDPOINT, Config::DEFAULT_ENDPOINT_REST, Config::DEFAULT_ENDPOINT_RPC, Config::DEFAULT_EXPIRES_IN, Config::DEFAULT_ISSUED_AT, Config::DEFAULT_OAUTH_TOKEN, Config::DEFAULT_OAUTH_TOKEN_SECRET, Config::DEFAULT_REDIRECT_URI, Config::DEFAULT_REFRESH_TOKEN, Config::DEFAULT_REQUEST_TOKEN_PATH, Config::DEFAULT_SCOPE, Config::DEFAULT_SITE, 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 Orkut::Client



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

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

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

Alias for Orkut::Client.new

Returns:



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

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

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

Returns:

  • (Boolean)


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

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