Sha256: f20b91664e57b61161c0e9b84854ceaa741334cf732d82b129569558d8cf72d9

Contents?: true

Size: 814 Bytes

Versions: 51

Compression:

Stored size: 814 Bytes

Contents

module Braintree
  class PaymentMethod
    include BaseModule

    def self.create(*args)
      Configuration.gateway.payment_method.create(*args)
    end

    def self.create!(*args)
      Configuration.gateway.payment_method.create!(*args)
    end

    def self.find(*args)
      Configuration.gateway.payment_method.find(*args)
    end

    def self.update(*args)
      Configuration.gateway.payment_method.update(*args)
    end

    def self.update!(*args)
      Configuration.gateway.payment_method.update!(*args)
    end

    def self.delete(*args)
      Configuration.gateway.payment_method.delete(*args)
    end

    def self.grant(*args)
      Configuration.gateway.payment_method.grant(*args)
    end

    def self.revoke(*args)
      Configuration.gateway.payment_method.revoke(*args)
    end
  end
end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
braintree-4.3.0 lib/braintree/payment_method.rb
braintree-4.2.0 lib/braintree/payment_method.rb
braintree-4.1.0 lib/braintree/payment_method.rb
braintree-4.0.0 lib/braintree/payment_method.rb
braintree-3.4.0 lib/braintree/payment_method.rb
braintree-3.3.0 lib/braintree/payment_method.rb
braintree-3.2.0 lib/braintree/payment_method.rb
braintree-3.1.0 lib/braintree/payment_method.rb
braintree-3.0.1 lib/braintree/payment_method.rb
braintree-2.104.1 lib/braintree/payment_method.rb
braintree-2.104.0 lib/braintree/payment_method.rb
braintree-2.103.0 lib/braintree/payment_method.rb
braintree-2.102.0 lib/braintree/payment_method.rb
braintree-2.101.0 lib/braintree/payment_method.rb
braintree-2.100.0 lib/braintree/payment_method.rb
braintree-2.99.0 lib/braintree/payment_method.rb
braintree-2.98.0 lib/braintree/payment_method.rb
braintree-2.97.0 lib/braintree/payment_method.rb
braintree-2.96.0 lib/braintree/payment_method.rb
braintree-2.95.0 lib/braintree/payment_method.rb