Class: StellarBase::Balances::BalancesPolicy
- Inherits:
-
Object
- Object
- StellarBase::Balances::BalancesPolicy
- Defined in:
- app/concepts/stellar_base/balances/balances_policy.rb
Instance Method Summary collapse
-
#initialize(_, _) ⇒ BalancesPolicy
constructor
A new instance of BalancesPolicy.
- #show? ⇒ Boolean
Constructor Details
#initialize(_, _) ⇒ BalancesPolicy
Returns a new instance of BalancesPolicy.
5 6 |
# File 'app/concepts/stellar_base/balances/balances_policy.rb', line 5 def initialize(_, _) end |
Instance Method Details
#show? ⇒ Boolean
8 9 10 11 |
# File 'app/concepts/stellar_base/balances/balances_policy.rb', line 8 def show? StellarBase.included_module?(:balances) && StellarBase.included_module?(:withdraw) end |