Class: AffiliateDrop
- Inherits:
-
Liquid::Simplero::Drop
- Object
- Liquid::Drop
- Liquid::Simplero::Drop
- AffiliateDrop
- Defined in:
- app/drops/affiliate_drop.rb
Overview
AffiliateDrop represents an Affiliate signed up to a Simplero AffiliateProgramDrop.
Instance Method Summary collapse
- #avatar ⇒ Object
- #contacts_count ⇒ Object
- #current_rank ⇒ Integer
- #customers_count ⇒ Integer
- #for_current_user? ⇒ Boolean
- #id ⇒ Integer
- #name ⇒ String
-
#old_rank ⇒ Object
Returns old rank that used only in Leaderboard and dependent from period of purchases, ordering(by sales/units/opt-ins) and also from time(day/month/week/year.. ago) when this rank was.
-
#purchases_count ⇒ Object
Returns count of purchases @return [Integer].
-
#sales ⇒ Object
Returns sales in cents @return [Integer].
Methods inherited from Liquid::Simplero::Drop
Instance Method Details
#avatar ⇒ Object
#contacts_count ⇒ Object
#current_rank ⇒ Integer
#customers_count ⇒ Integer
#for_current_user? ⇒ Boolean
#id ⇒ Integer
#name ⇒ String
#old_rank ⇒ Object
Returns old rank that used only in Leaderboard and dependent from period of purchases, ordering(by sales/units/opt-ins) and also from time(day/month/week/year.. ago) when this rank was.
@return [Integer]
#purchases_count ⇒ Object
Returns count of purchases
@return [Integer]
#sales ⇒ Object
Returns sales in cents
@return [Integer]