Method: Weblate::Group#hash

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

#hashInteger

Calculates hash code according to all attributes.

Returns:

  • (Integer)

    Hash code



303
304
305
# File 'lib/weblate/models/group.rb', line 303

def hash
  [id, name, defining_project, project_selection, language_selection, url, roles, languages, projects, componentlists, components, enforced_2fa].hash
end