Class: Group

Inherits:
Object
  • Object
show all
Includes:
Mongoid::Document, Mongoid::Timestamps, Searchable
Defined in:
lib/models/group.rb

Overview

Holds a collection of users in a group. Also contains a collection of apps that those users will have access to

Direct Known Subclasses

SsoDirectoryGroup

Instance Method Summary collapse

Methods included from Searchable

included

Instance Method Details

#search_fieldsObject

Internal: Which fields to add to search text

Examples

search_fields
# => ['name']

Return which fields should be added to



37
38
39
# File 'lib/models/group.rb', line 37

def search_fields
  %w[name]
end