Method: Notifo::UpdateIntegrationDto#==

Defined in:
lib/notifo/models/update_integration_dto.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



121
122
123
124
125
126
127
128
129
# File 'lib/notifo/models/update_integration_dto.rb', line 121

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      properties == o.properties &&
      enabled == o.enabled &&
      test == o.test &&
      condition == o.condition &&
      priority == o.priority
end