Method: Weblate::Notification#hash

Defined in:
lib/weblate/models/notification.rb

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



205
206
207
# File 'lib/weblate/models/notification.rb', line 205

def hash
  [notification, id, scope, frequency, project, component].hash
end