lib/stripe/api_operations/create.rb in stripe-1.28.1 vs lib/stripe/api_operations/create.rb in stripe-1.29.0

- old
+ new

@@ -1,16 +1,10 @@ module Stripe module APIOperations module Create - module ClassMethods - def create(params={}, opts={}) - response, opts = request(:post, url, params, opts) - Util.convert_to_stripe_object(response, opts) - end - end - - def self.included(base) - base.extend(ClassMethods) + def create(params={}, opts={}) + response, opts = request(:post, url, params, opts) + Util.convert_to_stripe_object(response, opts) end end end end