lib/stripe/invoice.rb in stripe-1.28.1 vs lib/stripe/invoice.rb in stripe-1.29.0
- old
+ new
@@ -1,9 +1,9 @@
module Stripe
class Invoice < APIResource
- include Stripe::APIOperations::List
+ extend Stripe::APIOperations::List
include Stripe::APIOperations::Update
- include Stripe::APIOperations::Create
+ extend Stripe::APIOperations::Create
def self.upcoming(params, opts={})
response, opts = request(:get, upcoming_url, params, opts)
Util.convert_to_stripe_object(response, opts)
end