Class: HostClass

Inherits:
ApplicationRecord show all
Includes:
Authorizable
Defined in:
app/models/host_class.rb

Instance Method Summary collapse

Methods included from Authorizable

#authorized?

Methods included from PermissionName

#permission_name

Methods inherited from ApplicationRecord

graphql_type, #logger, logger

Methods included from AuditAssociations::AssociationsDefinitions

#audit_associations, #audited, #configure_dirty_associations, #normalize_associations

Instance Method Details

#check_permissions_after_saveObject


15
16
17
# File 'app/models/host_class.rb', line 15

def check_permissions_after_save
  true
end

#nameObject


11
12
13
# File 'app/models/host_class.rb', line 11

def name
  "#{host} - #{puppetclass}"
end