Sha256: cd74f793785b42678d43c82c573cf1258829e403b22ad75ce9e4ce8a49a8c2da
Contents?: true
Size: 518 Bytes
Versions: 34
Compression:
Stored size: 518 Bytes
Contents
module Braintree class UnknownPaymentMethod include BaseModule attr_reader :token, :customer_id def initialize(gateway, attributes) @gateway = gateway nested_attributes = attributes[attributes.keys.first] set_instance_variables_from_hash(nested_attributes) end def default? @default end def image_url "https://assets.braintreegateway.com/payment_method_logo/unknown.png" end def self._new(*args) # :nodoc: self.new *args end end end
Version data entries
34 entries across 34 versions & 1 rubygems