Class: MangoModel::EMoney
- Inherits:
-
Object
- Object
- MangoModel::EMoney
- Includes:
- MangoPay::Jsonifier
- Defined in:
- lib/mangopay/model/e_money.rb
Overview
Represents a user’s e-money.
Constant Summary
Constants included from MangoPay::Jsonifier
Instance Attribute Summary collapse
-
#credited_e_money ⇒ Object
- Money
-
The amount of money that has been credited to its owner.
-
#debited_e_money ⇒ Object
- Money
-
The amount of money that has been debited from its owner.
-
#user_id ⇒ Object
- String
-
Its owner’s ID.
Method Summary
Methods included from MangoPay::Jsonifier
Instance Attribute Details
#credited_e_money ⇒ Object
- Money
-
The amount of money that has been credited to its owner
13 14 15 |
# File 'lib/mangopay/model/e_money.rb', line 13 def credited_e_money @credited_e_money end |
#debited_e_money ⇒ Object
- Money
-
The amount of money that has been debited from its owner
16 17 18 |
# File 'lib/mangopay/model/e_money.rb', line 16 def debited_e_money @debited_e_money end |
#user_id ⇒ Object
- String
-
Its owner’s ID
10 11 12 |
# File 'lib/mangopay/model/e_money.rb', line 10 def user_id @user_id end |