Class: Group
- Inherits:
-
Object
- Object
- Group
- 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
Instance Method Summary collapse
-
#search_fields ⇒ Object
Internal: Which fields to add to search text.
Methods included from Searchable
Instance Method Details
#search_fields ⇒ Object
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 |