Module: KewegoParty

Extended by:
Configuration
Defined in:
lib/kewego_party.rb,
lib/kewego_party/cache.rb,
lib/kewego_party/client.rb,
lib/kewego_party/request.rb,
lib/kewego_party/version.rb,
lib/kewego_party/parse_xml.rb,
lib/kewego_party/client/app.rb,
lib/kewego_party/connection.rb,
lib/kewego_party/exceptions.rb,
lib/kewego_party/client/auth.rb,
lib/kewego_party/client/video.rb,
lib/kewego_party/client/upload.rb,
lib/kewego_party/configuration.rb,
lib/kewego_party/client/channel.rb,
lib/kewego_party/client/channel_list.rb

Defined Under Namespace

Modules: Cache, Configuration, Connection, Request Classes: Client, ErrorResponseException, InvalidResponseException, ParseXml, TimeoutException

Constant Summary collapse

VERSION =
"0.0.1"

Constants included from Configuration

Configuration::DEFAULT_API_VERSION, Configuration::DEFAULT_APP_TOKEN, Configuration::DEFAULT_CACHING_STORE, Configuration::DEFAULT_DEBUG_OUTPUT, Configuration::DEFAULT_LOGIN, Configuration::DEFAULT_PASSWORD, Configuration::DEFAULT_TOKEN, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

configure, extended, options, reset

Class Method Details

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

Delegate to KewegoParty::Client.new



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

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

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

Alias for KewegoParty::Client.new

Returns:



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

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

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

Returns:

  • (Boolean)


25
26
27
# File 'lib/kewego_party.rb', line 25

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