diff --git a/lib/stripe/coupon.rb b/lib/stripe/coupon.rb index 767500e32..e795e66f3 100644 --- a/lib/stripe/coupon.rb +++ b/lib/stripe/coupon.rb @@ -3,9 +3,9 @@ module Stripe class Coupon < APIResource extend Stripe::APIOperations::Create - include Stripe::APIOperations::Save include Stripe::APIOperations::Delete extend Stripe::APIOperations::List + include Stripe::APIOperations::Save OBJECT_NAME = "coupon".freeze end diff --git a/lib/stripe/credit_note.rb b/lib/stripe/credit_note.rb index c1120b92e..09d18aa24 100644 --- a/lib/stripe/credit_note.rb +++ b/lib/stripe/credit_note.rb @@ -2,9 +2,9 @@ module Stripe class CreditNote < APIResource + extend Stripe::APIOperations::Create extend Stripe::APIOperations::List include Stripe::APIOperations::Save - extend Stripe::APIOperations::Create OBJECT_NAME = "credit_note".freeze diff --git a/lib/stripe/file_link.rb b/lib/stripe/file_link.rb index df9cc5901..ea6cc64e9 100644 --- a/lib/stripe/file_link.rb +++ b/lib/stripe/file_link.rb @@ -3,8 +3,8 @@ module Stripe class FileLink < APIResource extend Stripe::APIOperations::Create - include Stripe::APIOperations::Save extend Stripe::APIOperations::List + include Stripe::APIOperations::Save OBJECT_NAME = "file_link".freeze end diff --git a/lib/stripe/invoice.rb b/lib/stripe/invoice.rb index ce1397f00..9ffe7d6c3 100644 --- a/lib/stripe/invoice.rb +++ b/lib/stripe/invoice.rb @@ -2,10 +2,10 @@ module Stripe class Invoice < APIResource + extend Stripe::APIOperations::Create + include Stripe::APIOperations::Delete extend Stripe::APIOperations::List include Stripe::APIOperations::Save - include Stripe::APIOperations::Delete - extend Stripe::APIOperations::Create OBJECT_NAME = "invoice".freeze diff --git a/lib/stripe/invoice_item.rb b/lib/stripe/invoice_item.rb index e5d9b6268..350258b0b 100644 --- a/lib/stripe/invoice_item.rb +++ b/lib/stripe/invoice_item.rb @@ -2,9 +2,9 @@ module Stripe class InvoiceItem < APIResource - extend Stripe::APIOperations::List extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete + extend Stripe::APIOperations::List include Stripe::APIOperations::Save OBJECT_NAME = "invoiceitem".freeze diff --git a/lib/stripe/order.rb b/lib/stripe/order.rb index f3a3ea0c9..87b8b3ca9 100644 --- a/lib/stripe/order.rb +++ b/lib/stripe/order.rb @@ -2,8 +2,8 @@ module Stripe class Order < APIResource - extend Stripe::APIOperations::List extend Stripe::APIOperations::Create + extend Stripe::APIOperations::List include Stripe::APIOperations::Save OBJECT_NAME = "order".freeze diff --git a/lib/stripe/payment_method.rb b/lib/stripe/payment_method.rb index ad9c4ca82..5a4b05cd3 100644 --- a/lib/stripe/payment_method.rb +++ b/lib/stripe/payment_method.rb @@ -3,8 +3,8 @@ module Stripe class PaymentMethod < APIResource extend Stripe::APIOperations::Create - include Stripe::APIOperations::Save extend Stripe::APIOperations::List + include Stripe::APIOperations::Save OBJECT_NAME = "payment_method".freeze diff --git a/lib/stripe/payout.rb b/lib/stripe/payout.rb index 4e0fe6bc6..8f8edebdf 100644 --- a/lib/stripe/payout.rb +++ b/lib/stripe/payout.rb @@ -2,8 +2,8 @@ module Stripe class Payout < APIResource - extend Stripe::APIOperations::List extend Stripe::APIOperations::Create + extend Stripe::APIOperations::List include Stripe::APIOperations::Save OBJECT_NAME = "payout".freeze diff --git a/lib/stripe/product.rb b/lib/stripe/product.rb index 56466908e..9b318c49f 100644 --- a/lib/stripe/product.rb +++ b/lib/stripe/product.rb @@ -2,10 +2,10 @@ module Stripe class Product < APIResource - extend Stripe::APIOperations::List extend Stripe::APIOperations::Create - include Stripe::APIOperations::Save include Stripe::APIOperations::Delete + extend Stripe::APIOperations::List + include Stripe::APIOperations::Save OBJECT_NAME = "product".freeze end diff --git a/lib/stripe/recipient.rb b/lib/stripe/recipient.rb index bd2d603e8..9efd40714 100644 --- a/lib/stripe/recipient.rb +++ b/lib/stripe/recipient.rb @@ -5,8 +5,8 @@ module Stripe class Recipient < APIResource extend Stripe::APIOperations::Create include Stripe::APIOperations::Delete - include Stripe::APIOperations::Save extend Stripe::APIOperations::List + include Stripe::APIOperations::Save OBJECT_NAME = "recipient".freeze diff --git a/lib/stripe/subscription_schedule.rb b/lib/stripe/subscription_schedule.rb index b0d3dda74..a1eeb6dbd 100644 --- a/lib/stripe/subscription_schedule.rb +++ b/lib/stripe/subscription_schedule.rb @@ -2,8 +2,8 @@ module Stripe class SubscriptionSchedule < APIResource - extend Stripe::APIOperations::List extend Stripe::APIOperations::Create + extend Stripe::APIOperations::List include Stripe::APIOperations::Save extend Stripe::APIOperations::NestedResource diff --git a/lib/stripe/tax_rate.rb b/lib/stripe/tax_rate.rb index 0b06af493..9789d9b8d 100644 --- a/lib/stripe/tax_rate.rb +++ b/lib/stripe/tax_rate.rb @@ -3,8 +3,8 @@ module Stripe class TaxRate < APIResource extend Stripe::APIOperations::Create - include Stripe::APIOperations::Save extend Stripe::APIOperations::List + include Stripe::APIOperations::Save OBJECT_NAME = "tax_rate".freeze end diff --git a/lib/stripe/transfer.rb b/lib/stripe/transfer.rb index c7db18720..5b0721f7b 100644 --- a/lib/stripe/transfer.rb +++ b/lib/stripe/transfer.rb @@ -2,8 +2,8 @@ module Stripe class Transfer < APIResource - extend Stripe::APIOperations::List extend Stripe::APIOperations::Create + extend Stripe::APIOperations::List include Stripe::APIOperations::Save extend Stripe::APIOperations::NestedResource diff --git a/lib/stripe/webhook_endpoint.rb b/lib/stripe/webhook_endpoint.rb index da6551933..df752ec9a 100644 --- a/lib/stripe/webhook_endpoint.rb +++ b/lib/stripe/webhook_endpoint.rb @@ -3,9 +3,9 @@ module Stripe class WebhookEndpoint < APIResource extend Stripe::APIOperations::Create - include Stripe::APIOperations::Save include Stripe::APIOperations::Delete extend Stripe::APIOperations::List + include Stripe::APIOperations::Save OBJECT_NAME = "webhook_endpoint".freeze end