Sha256: daed5bc4359b52ee95fde3cab7de95133ea32118cc1579140be0d3c21555ea11

Contents?: true

Size: 437 Bytes

Versions: 44

Compression:

Stored size: 437 Bytes

Contents

# frozen_string_literal: true

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

    OBJECT_NAME = "ephemeral_key".freeze

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

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
stripe-4.18.0 lib/stripe/ephemeral_key.rb
stripe-4.17.0 lib/stripe/ephemeral_key.rb
stripe-4.16.0 lib/stripe/ephemeral_key.rb
stripe-4.15.0 lib/stripe/ephemeral_key.rb
stripe-4.14.0 lib/stripe/ephemeral_key.rb
stripe-4.13.0 lib/stripe/ephemeral_key.rb
stripe-4.12.0 lib/stripe/ephemeral_key.rb
stripe-4.11.0 lib/stripe/ephemeral_key.rb
stripe-4.10.0 lib/stripe/ephemeral_key.rb
stripe-4.9.1 lib/stripe/ephemeral_key.rb
stripe-4.9.0 lib/stripe/ephemeral_key.rb
stripe-4.8.1 lib/stripe/ephemeral_key.rb
stripe-4.8.0 lib/stripe/ephemeral_key.rb
stripe-4.7.1 lib/stripe/ephemeral_key.rb
stripe-4.7.0 lib/stripe/ephemeral_key.rb
stripe-4.6.0 lib/stripe/ephemeral_key.rb
stripe-4.5.0 lib/stripe/ephemeral_key.rb
stripe-4.4.1 lib/stripe/ephemeral_key.rb
stripe-4.4.0 lib/stripe/ephemeral_key.rb
stripe-4.3.0 lib/stripe/ephemeral_key.rb