Sha256: 942e582b1fc4b99080576b0e428fba9219f72bc389bf1247f753ccb5311c6c95
Contents?: true
Size: 998 Bytes
Versions: 3
Compression:
Stored size: 998 Bytes
Contents
require 'yaml' module OpenX module Services autoload :Persistance, 'openx/services/persistance' autoload :Base, 'openx/services/base' autoload :Session, 'openx/services/session' autoload :Advertiser, 'openx/services/advertiser' autoload :Agency, 'openx/services/agency' autoload :Campaign, 'openx/services/campaign' autoload :Banner, 'openx/services/banner' autoload :Publisher, 'openx/services/publisher' autoload :Zone, 'openx/services/zone' autoload :Channel, 'openx/services/channel' autoload :TargetingRule, 'openx/services/targeting_rule' autoload :TargetingRules, 'openx/services/targeting_rules' @@connection = nil # Default connection def self.default_connection @@connection ||= establish_connection(OpenX.configuration) end def self.establish_connection(config) connection = Session.new(config['url']) connection.create config['username'], config['password'] connection end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bsm-openx-1.9.3 | lib/openx/services.rb |
bsm-openx-1.9.2 | lib/openx/services.rb |
bsm-openx-1.9.1 | lib/openx/services.rb |