Module: Braintree::Util::TokenEquality

Included in:
CreditCard, SamsungPayCard, VisaCheckoutCard
Defined in:
lib/braintree/util.rb

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object

:nodoc:


205
206
207
208
# File 'lib/braintree/util.rb', line 205

def ==(other) # :nodoc:
  return false unless other.is_a?(self.class)
  token == other.token
end