Method: GongAPI::CustomerData#==

Defined in:
lib/gong_api/models/customer_data.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



119
120
121
122
123
124
# File 'lib/gong_api/models/customer_data.rb', line 119

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      objects == o.objects &&
      system == o.system
end