Class: Affiliate
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Affiliate
- Defined in:
- app/models/affiliate.rb
Instance Method Summary collapse
Instance Method Details
#name ⇒ Object
6 7 8 |
# File 'app/models/affiliate.rb', line 6 def name I18n.t(:affiliate_program) end |
#ref_id ⇒ Object
10 11 12 |
# File 'app/models/affiliate.rb', line 10 def ref_id partner ? partner.ref_id : '' end |