Class: AffiliateDrop

Inherits:
Liquid::Simplero::Drop show all
Defined in:
app/drops/affiliate_drop.rb

Overview

AffiliateDrop represents an Affiliate signed up to a Simplero AffiliateProgramDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#avatar ⇒ Object

#contacts_count ⇒ Object

#current_rank ⇒ Integer

Returns:

  • (Integer)

#customers_count ⇒ Integer

Returns:

  • (Integer)

#for_current_user? ⇒ Boolean

Returns:

  • (Boolean)

#id ⇒ Integer

Returns:

  • (Integer)

#name ⇒ String

Returns:

  • (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]