Module: Tweetsentiments

Extended by:
Configuration
Defined in:
lib/tweetsentiments.rb,
lib/tweetsentiments/api.rb,
lib/tweetsentiments/client.rb,
lib/tweetsentiments/request.rb,
lib/tweetsentiments/version.rb,
lib/tweetsentiments/connection.rb,
lib/tweetsentiments/configuration.rb

Defined Under Namespace

Modules: Configuration, Connection, Request Classes: API, Client

Constant Summary collapse

VERSION =
'0.1.1'

Constants included from Configuration

Configuration::DEFAULT_ADAPTER, Configuration::DEFAULT_ENDPOINT, Configuration::DEFAULT_FORMAT, Configuration::DEFAULT_PROXY, Configuration::DEFAULT_USER_AGENT, Configuration::VALID_FORMATS, Configuration::VALID_OPTIONS_KEYS

Class Method Summary collapse

Methods included from Configuration

configure, extended, options, reset

Class Method Details

.client(options = {}) ⇒ Object



8
9
10
# File 'lib/tweetsentiments.rb', line 8

def self.client(options={})
  Tweetsentiments::Client.new(options)
end

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



11
12
13
14
# File 'lib/tweetsentiments.rb', line 11

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