Pass the customer-specific API key when getting the upcoming invoice

This commit is contained in:
Evan Broder 2013-05-01 15:02:34 -07:00
parent dcb407c6d7
commit a95da742d4

View File

@ -18,7 +18,7 @@ module Stripe
end
def upcoming_invoice
Invoice.upcoming({ :customer => id })
Invoice.upcoming({ :customer => id }, @api_key)
end
def charges