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 SalesCampaign
Methods inherited from Campaign
default, #new_visit_count, #new_visit_page_view_count, #repeat_visit_count, #repeat_visit_page_view_count, #to_liquid, #to_s
Instance Method Details
#cost ⇒ Object
The sum cost of this campaign
14 15 16 |
# File 'app/models/affiliate_campaign.rb', line 14 def cost super + affiliate_fee end |