class BtcPay::Client::Api::PullPayments
Constants
- PATH
Public Instance Methods
create_payout(pull_payment_id, payload, **opts)
click to toggle source
# File lib/btcpay/client/api/pull_payments.rb, line 22 def create_payout(pull_payment_id, payload, **opts) client.post(path(pull_payment_id, 'payouts'), payload: payload, options: opts) end
get(pull_payment_id, **opts)
click to toggle source
# File lib/btcpay/client/api/pull_payments.rb, line 10 def get(pull_payment_id, **opts) client.get(path(pull_payment_id), options: opts) end
Also aliased as: find
payouts(pull_payment_id, **opts)
click to toggle source
# File lib/btcpay/client/api/pull_payments.rb, line 17 def payouts(pull_payment_id, **opts) client.get(path(pull_payment_id, 'payouts'), options: opts) end
Protected Instance Methods
set_base_path()
click to toggle source
# File lib/btcpay/client/api/pull_payments.rb, line 28 def set_base_path @base_path = PATH.dup end