Sha256: 181ea613eaaf9eecb5959badd328afd378badd23361f9d55e0462dd65a5e8b99

Contents?: true

Size: 239 Bytes

Versions: 25

Compression:

Stored size: 239 Bytes

Contents

module Stripe
  module APIOperations
    module Create
      def create(params={}, opts={})
        resp, opts = request(:post, resource_url, params, opts)
        Util.convert_to_stripe_object(resp.data, opts)
      end
    end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
stripe-2.1.0 lib/stripe/api_operations/create.rb
stripe-2.0.3 lib/stripe/api_operations/create.rb
stripe-2.0.2 lib/stripe/api_operations/create.rb
stripe-2.0.1 lib/stripe/api_operations/create.rb
stripe-2.0.0 lib/stripe/api_operations/create.rb