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