lib/promisepay/models/user.rb
# Set the disbursement account for a user.
#
# @see https://reference.promisepay.com/#set-user-disbursement-account
#
# @return [Boolean]
Set the disbursement account for a user.
Set the disbursement account for a user .
def disbursement_account(account_id)
      options = { account_id: account_id }
      JSON.parse(@client.post("users/#{send(:id)}/disbursement_account", options).body)
      true
    end
def disbursement_account ( account_id ) options = { account_id : account_id } JSON . parse ( @client . post ( "users/#{send(:id)}/disbursement_account" , options ) . body ) true end
Set the disbursement account for a user.
Set the disbursement account for a user .
None
Boolean
account_id
<not_specific>
see
None