class Braintree::RevokedPaymentMethodMetadata

Attributes

customer_id[R]
revoked_payment_method[R]
token[R]

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