Class: C2eCore::Drops::CreditsRewardDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/credits_reward_drop.rb
Instance Method Summary collapse
-
#amount ⇒ Float
- Amount.
-
#cash_payment_decimals ⇒ Integer
- The number of decimal places the
amountshould be rounded to.
- The number of decimal places the
-
#formatted_amount ⇒ String
- Formatted value of
amount.
- Formatted value of
-
#initialize(reward) ⇒ CreditsRewardDrop
constructor
A new instance of CreditsRewardDrop.
Constructor Details
#initialize(reward) ⇒ CreditsRewardDrop
Returns a new instance of CreditsRewardDrop.
Instance Method Details
#amount ⇒ Float
Returns - Amount.
#cash_payment_decimals ⇒ Integer
Returns - The number of decimal places the amount should be rounded to.
#formatted_amount ⇒ String
Returns - Formatted value of amount.