Method: GongAPI::CallInteraction#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



102
103
104
105
106
107
108
109
# File 'lib/gong_api/models/call_interaction.rb', line 102

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      person_interaction_stats == o.person_interaction_stats &&
      questions == o.questions &&
      speakers == o.speakers &&
      video == o.video
end