class Braintree::RevokedPaymentMethodMetadata
Attributes
customer_id[R]
revoked_payment_method[R]
token[R]
Public Class Methods
_new(*args)
click to toggle source
# File lib/braintree/revoked_payment_method_metadata.rb, line 17 def _new(*args) self.new(*args) end
Protected Class Methods
new(gateway, attributes)
click to toggle source
# File lib/braintree/revoked_payment_method_metadata.rb, line 9 def initialize(gateway, attributes) @revoked_payment_method = PaymentMethodParser.parse_payment_method(gateway, attributes) @customer_id = @revoked_payment_method.customer_id @token = @revoked_payment_method.token end