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-3.19.0 lib/stripe/ephemeral_key.rb
stripe-3.18.0 lib/stripe/ephemeral_key.rb
stripe-3.17.2 lib/stripe/ephemeral_key.rb
stripe-3.17.1 lib/stripe/ephemeral_key.rb