class Braintree::UnknownPaymentMethod
Attributes
Public Class Methods
Source
# File lib/braintree/unknown_payment_method.rb, line 22 def self._new(*args) self.new(*args) end
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
Source
# File lib/braintree/unknown_payment_method.rb, line 14 def default? @default end
Source
# File lib/braintree/unknown_payment_method.rb, line 18 def image_url "https://assets.braintreegateway.com/payment_method_logo/unknown.png" end