Sha256: 87f88d7c0b7e3d15c3db483b08a0a71c5b4609f218213ccf9cec4f8cfcfdf4a9

Contents?: true

Size: 501 Bytes

Versions: 114

Compression:

Stored size: 501 Bytes

Contents

# File generated from our OpenAPI spec
# frozen_string_literal: true

module Stripe
  class EphemeralKey < APIResource
    extend Stripe::APIOperations::Create
    include Stripe::APIOperations::Delete

    OBJECT_NAME = "ephemeral_key"

    def self.create(params = {}, opts = {})
      opts = Util.normalize_opts(opts)
      unless opts[:stripe_version]
        raise ArgumentError,
              "stripe_version must be specified to create an ephemeral key"
      end
      super
    end
  end
end

Version data entries

114 entries across 114 versions & 1 rubygems

Version Path
stripe-10.7.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.8.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.7.0 lib/stripe/resources/ephemeral_key.rb
stripe-10.7.0.pre.beta.3 lib/stripe/resources/ephemeral_key.rb
stripe-10.7.0.pre.beta.2 lib/stripe/resources/ephemeral_key.rb
stripe-10.7.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.6.0 lib/stripe/resources/ephemeral_key.rb
stripe-10.6.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.5.0 lib/stripe/resources/ephemeral_key.rb
stripe-10.5.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.4.0 lib/stripe/resources/ephemeral_key.rb
stripe-10.4.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.3.0 lib/stripe/resources/ephemeral_key.rb
stripe-10.3.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.2.0 lib/stripe/resources/ephemeral_key.rb
stripe-10.2.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.1.0 lib/stripe/resources/ephemeral_key.rb
stripe-10.1.0.pre.beta.2 lib/stripe/resources/ephemeral_key.rb
stripe-10.1.0.pre.beta.1 lib/stripe/resources/ephemeral_key.rb
stripe-10.0.0 lib/stripe/resources/ephemeral_key.rb