Class: C2eCore::Drops::PromoCodeProgressDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/promo_code_progress_drop.rb
Instance Method Summary collapse
-
#applicable_count ⇒ Integer
- Number of items (pizzas / orders) customer already collected during this action.
-
#company_branch ⇒ CompanyBranchDrop
- Company branch which given this promo code as drop object.
-
#description ⇒ String
- Description of rule this notification is associated.
-
#initialize(args) ⇒ PromoCodeProgressDrop
constructor
A new instance of PromoCodeProgressDrop.
-
#remaining_count ⇒ Integer
- Number of items (pizzas / orders) customer need to collect to claim promo code.
-
#rules_url ⇒ String?
- URL with rules of this action.
-
#unsubscribe_url ⇒ String
- URL for unsubscribing from marketing actions.
-
#validity ⇒ DateTime
- Datetime object containing validity of information in this email.
Constructor Details
#initialize(args) ⇒ PromoCodeProgressDrop
Returns a new instance of PromoCodeProgressDrop.
Instance Method Details
#applicable_count ⇒ Integer
Returns - Number of items (pizzas / orders) customer already collected during this action. E.g.: 8.
#company_branch ⇒ CompanyBranchDrop
Returns - Company branch which given this promo code as drop object.
#description ⇒ String
Returns - Description of rule this notification is associated.
#remaining_count ⇒ Integer
Returns - Number of items (pizzas / orders) customer need to collect to claim promo code. E.g.: 2.
#rules_url ⇒ String?
Returns - URL with rules of this action.
#unsubscribe_url ⇒ String
Returns - URL for unsubscribing from marketing actions.
#validity ⇒ DateTime
Returns - Datetime object containing validity of information in this email. E.g.: "2020-11-16T11:38:56+01:00".