Class: ForemanPatch::Group

Inherits:
ApplicationRecord
  • Object
show all
Extended by:
FriendlyId
Includes:
Authorizable, ForemanTasks::Concerns::ActionSubject, Katello::Ext::LabelFromName
Defined in:
app/models/foreman_patch/group.rb

Defined Under Namespace

Classes: Jail

Instance Method Summary collapse

Instance Method Details

#hosts_countObject



33
34
35
# File 'app/models/foreman_patch/group.rb', line 33

def hosts_count
  hosts.count
end