Sha256: ff3ea8b7a5286744ac8423b8645ec3deb4a3316d4ccd0bca1dce77048ddff859

Contents?: true

Size: 474 Bytes

Versions: 21

Compression:

Stored size: 474 Bytes

Contents

module Braintree
  class PaymentMethod
    include BaseModule

    def self.create(attributes)
      Configuration.gateway.payment_method.create(attributes)
    end

    def self.find(token)
      Configuration.gateway.payment_method.find(token)
    end

    def self.update(token, attributes)
      Configuration.gateway.payment_method.update(token, attributes)
    end

    def self.delete(token)
      Configuration.gateway.payment_method.delete(token)
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
braintree-2.50.0 lib/braintree/payment_method.rb
braintree-2.49.0 lib/braintree/payment_method.rb
braintree-2.48.1 lib/braintree/payment_method.rb
braintree-2.48.0 lib/braintree/payment_method.rb
braintree-2.47.0 lib/braintree/payment_method.rb
braintree-2.46.0 lib/braintree/payment_method.rb
braintree-2.45.0 lib/braintree/payment_method.rb
braintree-2.44.0 lib/braintree/payment_method.rb
braintree-2.43.0 lib/braintree/payment_method.rb
braintree-2.42.0 lib/braintree/payment_method.rb
braintree-2.41.0 lib/braintree/payment_method.rb
braintree-2.40.0 lib/braintree/payment_method.rb
braintree-2.39.0 lib/braintree/payment_method.rb
braintree-2.38.0 lib/braintree/payment_method.rb
braintree-2.37.0 lib/braintree/payment_method.rb
braintree-2.36.0 lib/braintree/payment_method.rb
braintree-2.35.0 lib/braintree/payment_method.rb
braintree-2.34.1 lib/braintree/payment_method.rb
braintree-2.34.0 lib/braintree/payment_method.rb
braintree-2.33.1 lib/braintree/payment_method.rb