Method: GongAPI::ExternalCrmCallObject#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



139
140
141
142
143
144
145
# File 'lib/gong_api/models/external_crm_call_object.rb', line 139

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      fields == o.fields &&
      object_id == o.object_id &&
      object_type == o.object_type
end