Sha256: cab523aa8e245529ccb8a4291166ddb2709b8d92821a5f2971bb50f2a2e4cfa4
Contents?: true
Size: 793 Bytes
Versions: 3
Compression:
Stored size: 793 Bytes
Contents
module AdWords class Service @services = { 10 => ["Account", "AdGroup", "Ad", "Campaign", "Criterion", "Info", "KeywordTool", "Report", "SiteSuggestion", "TrafficEstimator"], 11 => ["Account", "AdGroup", "Ad", "Campaign", "Criterion", "Info", "KeywordTool", "Report", "SiteSuggestion", "TrafficEstimator"] } def self.getVersions @services.keys end def self.getServices(version) @services[version] end def self.doRequire(version) getServices(version).each do |s| eval("require 'adwords4r/v#{version}/#{s}ServiceDriver'") end end def self.getMethodMap(drivers) methodMap = Hash.new drivers.each_value {|d| d.class::Methods.each {|m| methodMap[m[1]] = d}} return methodMap end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adwords4r-11.0.2 | lib/adwords4r/services.rb |
adwords4r-11.0.3 | lib/adwords4r/services.rb |
adwords4r-11.1.0 | lib/adwords4r/services.rb |