class Braintree::UnknownPaymentMethod

Attributes

customer_id[R]
token[R]

Public Class Methods

new(gateway, attributes) click to toggle source
# File lib/braintree/unknown_payment_method.rb, line 8
def initialize(gateway, attributes)
  @gateway = gateway
  nested_attributes = attributes[attributes.keys.first]
  set_instance_variables_from_hash(nested_attributes)
end

Public Instance Methods

default?() click to toggle source
# File lib/braintree/unknown_payment_method.rb, line 14
def default?
  @default
end
image_url() click to toggle source
# File lib/braintree/unknown_payment_method.rb, line 18
def image_url
  "https://assets.braintreegateway.com/payment_method_logo/unknown.png"
end