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