mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-11-28 00:02:45 -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
|
end
|
||||||
|
|
||||||
def upcoming_invoice
|
def upcoming_invoice
|
||||||
Invoice.upcoming({ :customer => id })
|
Invoice.upcoming({ :customer => id }, @api_key)
|
||||||
end
|
end
|
||||||
|
|
||||||
def charges
|
def charges
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user