Sha256: 8731dd6bf292610b624b01b0344a3d58e9490d69269e8e5f02b0a0e88a1a5931
Contents?: true
Size: 533 Bytes
Versions: 3
Compression:
Stored size: 533 Bytes
Contents
module Braintree class PaymentMethodNonce include BaseModule # :nodoc: def self.create(payment_method) Configuration.gateway.payment_method_nonce.create(payment_method) end attr_reader :nonce def initialize(gateway, attributes) # :nodoc: @gateway = gateway @nonce = attributes.fetch(:nonce) end def to_s # :nodoc: nonce end class << self protected :new end def self._new(gateway, attributes) # :nodoc: new(gateway, attributes) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
braintree-2.42.0 | lib/braintree/payment_method_nonce.rb |
braintree-2.41.0 | lib/braintree/payment_method_nonce.rb |
braintree-2.40.0 | lib/braintree/payment_method_nonce.rb |