Class: AffiliateCampaign
- Inherits:
-
SalesCampaign
- Object
- ActiveRecord::Base
- Campaign
- SalesCampaign
- AffiliateCampaign
- Defined in:
- app/models/affiliate_campaign.rb
Overview
An affiliate campaign
Carries an affiliate fee (and sales fee)
Instance Method Summary collapse
-
#cost ⇒ Object
The sum cost of this campaign.
Methods inherited from Campaign
Instance Method Details
#cost ⇒ Object
The sum cost of this campaign
12 13 14 |
# File 'app/models/affiliate_campaign.rb', line 12 def cost super + affiliate_fee end |