Class: StellarBase::WithdrawalRequests::WithdrawalRequestPolicy

Inherits:
Object
  • Object
show all
Defined in:
app/concepts/stellar_base/withdrawal_requests/withdrawal_request_policy.rb

Instance Method Summary collapse

Constructor Details

#initialize(_, _) ⇒ WithdrawalRequestPolicy

Returns a new instance of WithdrawalRequestPolicy.



5
6
# File 'app/concepts/stellar_base/withdrawal_requests/withdrawal_request_policy.rb', line 5

def initialize(_, _)
end

Instance Method Details

#create?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'app/concepts/stellar_base/withdrawal_requests/withdrawal_request_policy.rb', line 8

def create?
  StellarBase.included_module?(:withdraw)
end