Class: C2eCore::Drops::CreditsWalletActivityDrop
- Includes:
- ActionView::Helpers::NumberHelper
- Defined in:
- /build/app/mailers/c2e_core/drops/credits_wallet_activity_drop.rb
Instance Method Summary collapse
-
#amount ⇒ Float
-
The wallet activity amount, e.g.
-
-
#company_branch ⇒ CompanyBranchDrop
-
Returns company branch to which wallet activity belongs as drop object.
-
-
#currency ⇒ CurrencyDrop
-
Returns currency to which wallet activity belongs as drop object.
-
-
#formatted_amount ⇒ String
-
The wallet activity amount formatted in its currency, e.g.
-
-
#id ⇒ Integer
-
ID of wallet activity in database.
-
-
#initialize(wallet_activity) ⇒ CreditsWalletActivityDrop
constructor
A new instance of CreditsWalletActivityDrop.
-
#user ⇒ UserDrop
-
Returns user to which wallet activity belongs as drop object.
-
-
#wallet ⇒ CreditsWalletDrop
-
Returns wallet to which wallet activity belongs as drop object.
-
Constructor Details
#initialize(wallet_activity) ⇒ CreditsWalletActivityDrop
Returns a new instance of CreditsWalletActivityDrop.
Instance Method Details
#amount ⇒ Float
Returns - The wallet activity amount, e.g. 123.45.
#company_branch ⇒ CompanyBranchDrop
Returns - Returns company branch to which wallet activity belongs as drop object.
#currency ⇒ CurrencyDrop
Returns - Returns currency to which wallet activity belongs as drop object.
#formatted_amount ⇒ String
Returns - The wallet activity amount formatted in its currency, e.g. "123,45 Kč".
#id ⇒ Integer
Returns - ID of wallet activity in database.
#user ⇒ UserDrop
Returns - Returns user to which wallet activity belongs as drop object.
#wallet ⇒ CreditsWalletDrop
Returns - Returns wallet to which wallet activity belongs as drop object.