Method: GongAPI::ContentSelector#==

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

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



128
129
130
131
132
133
134
# File 'lib/gong_api/models/content_selector.rb', line 128

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      context == o.context &&
      context_timing == o.context_timing &&
      exposed_fields == o.exposed_fields
end