class Braintree::RevokedPaymentMethodMetadata
Attributes
Public Class Methods
Source
# File lib/braintree/revoked_payment_method_metadata.rb, line 17 def _new(*args) self.new(*args) end
Protected Class Methods
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