Sha256: e8b4598db93c31e80a16e8054ce89781ed1127b7a93c47d1902183991333e98c

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 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.delete(token)
      Configuration.gateway.payment_method.delete(token)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
braintree-2.32.1 lib/braintree/payment_method.rb