Class: Setting::Bootdisk
- Inherits:
-
Object
- Object
- Setting::Bootdisk
- Defined in:
- app/models/setting/bootdisk.rb
Class Method Summary collapse
Class Method Details
.allowed_types ⇒ Object
13 14 15 |
# File 'app/models/setting/bootdisk.rb', line 13 def self.allowed_types Setting['bootdisk_allowed_types'] end |
.bootdisk_types ⇒ Object
9 10 11 |
# File 'app/models/setting/bootdisk.rb', line 9 def self.bootdisk_types %w(generic host full_host subnet) end |
.humanized_category ⇒ Object
5 6 7 |
# File 'app/models/setting/bootdisk.rb', line 5 def self.humanized_category N_('Boot disk') end |