Class: Setting::Bootdisk

Inherits:
Object
  • Object
show all
Defined in:
app/models/setting/bootdisk.rb

Class Method Summary collapse

Class Method Details

.allowed_typesObject



13
14
15
# File 'app/models/setting/bootdisk.rb', line 13

def self.allowed_types
  Setting['bootdisk_allowed_types']
end

.bootdisk_typesObject



9
10
11
# File 'app/models/setting/bootdisk.rb', line 9

def self.bootdisk_types
  %w(generic host full_host subnet)
end

.humanized_categoryObject



5
6
7
# File 'app/models/setting/bootdisk.rb', line 5

def self.humanized_category
  N_('Boot disk')
end