Sha256: d0158af5d83b6e3521bb3d2f5022c1afbbf4fbf4e3270a47012fb63e25c5487e

Contents?: true

Size: 291 Bytes

Versions: 38

Compression:

Stored size: 291 Bytes

Contents

# frozen_string_literal: true

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

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
stripe-6.3.0 lib/stripe/api_operations/create.rb
stripe-6.2.0 lib/stripe/api_operations/create.rb
stripe-6.1.0 lib/stripe/api_operations/create.rb
stripe-6.0.0 lib/stripe/api_operations/create.rb
stripe-5.55.0 lib/stripe/api_operations/create.rb
stripe-5.54.0 lib/stripe/api_operations/create.rb
stripe-5.53.0 lib/stripe/api_operations/create.rb
stripe-5.52.0 lib/stripe/api_operations/create.rb
stripe-5.50.0 lib/stripe/api_operations/create.rb
stripe-5.49.0 lib/stripe/api_operations/create.rb
stripe-5.48.0 lib/stripe/api_operations/create.rb
stripe-5.47.0 lib/stripe/api_operations/create.rb
stripe-5.46.0 lib/stripe/api_operations/create.rb
stripe-5.45.0 lib/stripe/api_operations/create.rb
stripe-5.44.0 lib/stripe/api_operations/create.rb
stripe-5.43.0 lib/stripe/api_operations/create.rb
stripe-5.42.0 lib/stripe/api_operations/create.rb
stripe-5.41.0 lib/stripe/api_operations/create.rb
stripe-5.40.0 lib/stripe/api_operations/create.rb
stripe-5.39.0 lib/stripe/api_operations/create.rb