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-2.94.0 lib/braintree/payment_method.rb
braintree-2.93.0 lib/braintree/payment_method.rb
braintree-2.92.0 lib/braintree/payment_method.rb
braintree-2.91.0 lib/braintree/payment_method.rb
braintree-2.90.0 lib/braintree/payment_method.rb
braintree-2.89.0 lib/braintree/payment_method.rb
braintree-2.88.0 lib/braintree/payment_method.rb
braintree-2.87.0 lib/braintree/payment_method.rb
braintree-2.86.0 lib/braintree/payment_method.rb
braintree-2.85.0 lib/braintree/payment_method.rb
braintree-2.84.0 lib/braintree/payment_method.rb