lib/stripe/invoice.rb in stripe-3.21.0 vs lib/stripe/invoice.rb in stripe-3.22.0

- old
+ new

@@ -7,10 +7,9 @@ extend Stripe::APIOperations::Create OBJECT_NAME = "invoice".freeze def self.upcoming(params, opts = {}) - params[:subscription_items] = Util.array_to_hash(params[:subscription_items]) if params[:subscription_items] resp, opts = request(:get, upcoming_url, params, opts) Util.convert_to_stripe_object(resp.data, opts) end def pay(params = {}, opts = {})