Sha256: b5bc1426877150bf078e0138b92b1e83da5fa75b9557d3cfb41fdcb04eb00ec5
Contents?: true
Size: 690 Bytes
Versions: 15
Compression:
Stored size: 690 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 def self.grant(token, allow_vaulting) Configuration.gateway.payment_method.grant(token, allow_vaulting) end def self.revoke(token) Configuration.gateway.payment_method.revoke(token) end end end
Version data entries
15 entries across 15 versions & 1 rubygems