Class: OsParameter

Inherits:
Parameter show all
Defined in:
app/models/parameters/os_parameter.rb

Constant Summary

Constants inherited from Parameter

Parameter::PRIORITY

Constants included from KeyType

KeyType::KEY_TYPES

Constants included from HiddenValue

HiddenValue::HIDDEN_VALUE

Instance Method Summary collapse

Methods inherited from Parameter

#editable_by_user?, #hash_for_include_source, type_priority, #value_before_type_cast

Methods included from Authorizable

#authorized?, #check_permissions_after_save

Methods included from PermissionName

#permission_name

Methods included from KeyValueValidation

#validate_and_cast_value

Methods included from HiddenValue

#hidden_value, #safe_value

Methods inherited from ApplicationRecord

graphql_type, #logger, logger

Methods included from AuditAssociations::AssociationsDefinitions

#audit_associations, #audited, #configure_dirty_associations, #normalize_associations

Instance Method Details

#associated_labelObject


10
11
12
# File 'app/models/parameters/os_parameter.rb', line 10

def associated_label
  operatingsystem.to_label
end

#associated_typeObject


6
7
8
# File 'app/models/parameters/os_parameter.rb', line 6

def associated_type
  N_('operating system')
end