Sha256: 6c1d3fd8328b7d19e104ecfde0a5ccc3e8a2917afdc8375cb5a7bea8920a66e6
Contents?: true
Size: 704 Bytes
Versions: 15
Compression:
Stored size: 704 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, options = {}) Configuration.gateway.payment_method.delete(token, options) end def self.grant(token, options = {}) Configuration.gateway.payment_method.grant(token, options) end def self.revoke(token) Configuration.gateway.payment_method.revoke(token) end end end
Version data entries
15 entries across 15 versions & 1 rubygems