lib/stripe/order.rb in stripe-1.28.1 vs lib/stripe/order.rb in stripe-1.29.0
- old
+ new
@@ -1,8 +1,8 @@
module Stripe
class Order < APIResource
- include Stripe::APIOperations::List
- include Stripe::APIOperations::Create
+ extend Stripe::APIOperations::List
+ extend Stripe::APIOperations::Create
include Stripe::APIOperations::Update
def pay(params, opts={})
response, opts = request(:post, pay_url, params, opts)
refresh_from(response, opts)