Class: DcAd
- Inherits:
-
Object
- Object
- DcAd
- Includes:
- Mongoid::Document, Mongoid::Timestamps
- Defined in:
- app/models/dc_ad.rb
Overview
Mongoid::Document model for dc_ads collection.
Ads can be defined as picture file, flash file or script.
More than one ad can be shown on the same place of design. They are grouped by position field, have priority, valid time period and can be limited by number of clicks or displays.