Module: Braintree::Util::IdEquality

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



198
199
200
201
# File 'lib/braintree/util.rb', line 198

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