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.23.0 lib/braintree/payment_method.rb
braintree-4.22.0 lib/braintree/payment_method.rb
braintree-4.21.0 lib/braintree/payment_method.rb
braintree-4.20.0 lib/braintree/payment_method.rb
braintree-4.19.0 lib/braintree/payment_method.rb
braintree-4.18.0 lib/braintree/payment_method.rb
braintree-4.17.0 lib/braintree/payment_method.rb
braintree-4.16.0 lib/braintree/payment_method.rb
braintree-4.15.0 lib/braintree/payment_method.rb
braintree-4.14.0 lib/braintree/payment_method.rb
braintree-4.13.0 lib/braintree/payment_method.rb
braintree-4.12.0 lib/braintree/payment_method.rb
braintree-4.11.0 lib/braintree/payment_method.rb
braintree-4.10.0 lib/braintree/payment_method.rb
braintree-4.9.0 lib/braintree/payment_method.rb
braintree-4.8.0 lib/braintree/payment_method.rb
braintree-4.7.0 lib/braintree/payment_method.rb
braintree-4.6.0 lib/braintree/payment_method.rb
braintree-4.5.0 lib/braintree/payment_method.rb
braintree-4.4.0 lib/braintree/payment_method.rb