Class: C2eCore::Drops::CreditsWalletDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/credits_wallet_drop.rb
Instance Method Summary collapse
-
#balance ⇒ Float
-
Wallet credit balance.
-
-
#group ⇒ CreditsGroupDrop
-
Returns credit group to which wallet belongs as drop object.
-
-
#initialize(wallet) ⇒ CreditsWalletDrop
constructor
A new instance of CreditsWalletDrop.
-
#nfc_id ⇒ String
-
The wallet’s NFC ID, e.g.
-
Constructor Details
#initialize(wallet) ⇒ CreditsWalletDrop
Returns a new instance of CreditsWalletDrop.
Instance Method Details
#balance ⇒ Float
Returns - Wallet credit balance. E.g.: 123.45.
#group ⇒ CreditsGroupDrop
Returns - Returns credit group to which wallet belongs as drop object.
#nfc_id ⇒ String
Returns - The wallet’s NFC ID, e.g. "049C64D2452B80".