Method: TalonOne::BaseNotificationWebhook#==

Defined in:
lib/talon_one/models/base_notification_webhook.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



139
140
141
142
143
144
145
146
147
# File 'lib/talon_one/models/base_notification_webhook.rb', line 139

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      id == o.id &&
      created == o.created &&
      modified == o.modified &&
      url == o.url &&
      headers == o.headers
end