lib/stripe/invoice.rb in stripe-2.12.0 vs lib/stripe/invoice.rb in stripe-3.0.0

- old
+ new

@@ -9,11 +9,11 @@ def self.upcoming(params, opts={}) resp, opts = request(:get, upcoming_url, params, opts) Util.convert_to_stripe_object(resp.data, opts) end - def pay(opts={}) - resp, opts = request(:post, pay_url, {}, opts) + def pay(params={}, opts={}) + resp, opts = request(:post, pay_url, params, opts) initialize_from(resp.data, opts) end private