Module: Braintree::Util::TokenEquality

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

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



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

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