Module: Braintree::Util::IdEquality

Instance Method Summary collapse

Instance Method Details

#==(other) ⇒ Object



203
204
205
206
# File 'lib/braintree/util.rb', line 203

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