Class: StellarBase::Balances::BalancesPolicy

Inherits:
Object
  • Object
show all
Defined in:
app/concepts/stellar_base/balances/balances_policy.rb

Instance Method Summary collapse

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

Returns:

  • (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