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

#avatarObject

#contacts_countObject

#current_rankInteger

Returns:

  • (Integer)

#customers_countInteger

Returns:

  • (Integer)

#for_current_user?Boolean

Returns:

  • (Boolean)

#idInteger

Returns:

  • (Integer)

#nameString

Returns:

  • (String)

#old_rankObject

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_countObject

Returns count of purchases

@return [Integer]

#salesObject

Returns sales in cents

@return [Integer]