Method: Stripe::EphemeralKey.create
- Defined in:
- lib/stripe/resources/ephemeral_key.rb
.create(params = {}, opts = {}) ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/stripe/resources/ephemeral_key.rb', line 10 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 |