Module: Oass

Defined in:
lib/oass.rb,
lib/oass/client.rb,
lib/oass/errors.rb,
lib/oass/version.rb,
lib/oass/client/campaign.rb,
lib/oass/client/creative.rb

Defined Under Namespace

Classes: Client, NotFoundError, OASError

Constant Summary collapse

VERSION =
"0.1.5"
@@endpoint =
"https://training7.247realmedia.com//oasapi/OaxApi?wsdl"
@@account =
"OasDefault"

Class Method Summary collapse

Class Method Details

.clientObject



29
30
31
# File 'lib/oass.rb', line 29

def client
  @client ||= Client.new
end

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Oass)

    the object that the method was called on



19
20
21
# File 'lib/oass.rb', line 19

def self.configure
  yield self
end

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



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

def method_missing(method, *args, &block)
  client.send(method, *args, &block)
end