Module: SilverPop

Defined in:
lib/silverpop.rb,
lib/client/user.rb,
lib/client/contact.rb,
lib/client/reporting.rb,
lib/silverpop/client.rb,
lib/silverpop/request.rb,
lib/silverpop/version.rb,
lib/silverpop/connection.rb,
lib/client/relational_table.rb

Defined Under Namespace

Modules: Connection, Request Classes: Client

Constant Summary collapse

VERSION =
"0.0.9"

Class Method Summary collapse

Class Method Details

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

Delegate to SilverPop::Client.new



13
14
15
16
# File 'lib/silverpop.rb', line 13

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

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

Alias for SilverPop::Client.new

Returns:



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

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

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

Returns:

  • (Boolean)


18
19
20
# File 'lib/silverpop.rb', line 18

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