Sha256: 483d402f0ca27d06ca7614a1deddfbb24cbd40ce19dd1d3f68f613ae9ecd66d5
Contents?: true
Size: 534 Bytes
Versions: 17
Compression:
Stored size: 534 Bytes
Contents
module Braintree class UnknownPaymentMethod include BaseModule attr_reader :customer_id attr_reader :token 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
17 entries across 17 versions & 1 rubygems