Module: Epom
- Defined in:
- lib/epom.rb,
lib/epom/auth.rb,
lib/epom/site.rb,
lib/epom/zone.rb,
lib/epom/banner.rb,
lib/epom/config.rb,
lib/epom/ad_unit.rb,
lib/epom/version.rb,
lib/epom/analytic.rb,
lib/epom/campaign.rb,
lib/epom/category.rb,
lib/epom/relation.rb,
lib/epom/placement.rb,
lib/epom/publisher.rb,
lib/epom/advertiser.rb,
lib/epom/banner_type.rb,
lib/epom/day_of_week.rb,
lib/epom/period_type.rb,
lib/epom/ad_unit_size.rb,
lib/epom/epom_element.rb,
lib/epom/payment_model.rb,
lib/epom/limit_counters.rb,
lib/epom/placement_type.rb,
lib/generators/epom/config/config_generator.rb
Defined Under Namespace
Classes: AdUnit, AdUnitSize, Advertiser, Analytic, Auth, Banner, BannerType, Campaign, Category, ConfigGenerator, Configuration, DayOfWeek, EpomElement, LimitCounter, PaymentModel, PeriodType, Placement, PlacementType, Publisher, Relation, Site, Zone
Constant Summary collapse
- VERSION =
'0.10.13'
Class Method Summary collapse
-
.config ⇒ Object
Global settings for Epom.
-
.configure {|@config ||= Epom::Configuration.new| ... } ⇒ Object
Configures global settings for Epom Epom.configure do |config| config.epom_server = ‘n29.epom.com/’ end.
- .create_hash(*args) ⇒ Object
Class Method Details
.config ⇒ Object
Global settings for Epom
13 14 15 |
# File 'lib/epom/config.rb', line 13 def self.config @config end |
.configure {|@config ||= Epom::Configuration.new| ... } ⇒ Object
Configures global settings for Epom
Epom.configure do |config|
config.epom_server = 'https://n29.epom.com/'
end
8 9 10 |
# File 'lib/epom/config.rb', line 8 def self.configure(&block) yield @config ||= Epom::Configuration.new end |
.create_hash(*args) ⇒ Object
21 22 23 24 25 |
# File 'lib/epom.rb', line 21 def self.create_hash(*args) md5 = Digest::MD5.new md5 << args.join md5.hexdigest end |