mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-27 00:03:06 -05:00
Pass the customer-specific API key when getting the upcoming invoice
This commit is contained in:
parent
dcb407c6d7
commit
a95da742d4
@ -18,7 +18,7 @@ module Stripe
|
||||
end
|
||||
|
||||
def upcoming_invoice
|
||||
Invoice.upcoming({ :customer => id })
|
||||
Invoice.upcoming({ :customer => id }, @api_key)
|
||||
end
|
||||
|
||||
def charges
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user