Skip to content

Commit

Permalink
Update retrieve_cash_balance method to have params.
Browse files Browse the repository at this point in the history
  • Loading branch information
dcr-stripe committed Aug 1, 2022
1 parent 5a4d6fc commit b4898d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/stripe/resources/customer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ def self.search_auto_paging_each(params = {}, opts = {}, &blk)
search(params, opts).auto_paging_each(&blk)
end

def self.retrieve_cash_balance(customer, opts = {})
def self.retrieve_cash_balance(customer, params = {}, opts = {})
request_stripe_object(
method: :get,
path: format("/v1/customers/%<customer>s/cash_balance", { customer: CGI.escape(customer) }),
params: {},
params: params,
opts: opts
)
end
Expand Down

0 comments on commit b4898d8

Please sign in to comment.