Module: Ovh::Api::Models::DedicatedStorageTemplateUsageOptionsEnum
- Defined in:
- lib/ovh-api/models/dedicated_storage_template_usage_options_enum.rb
Constant Summary collapse
- DATABASES =
'Databases'- DEFAULT =
'Default'- FILE_SYSTEMS__BIG_FILES =
'File Systems (big files)'- VIRTUAL_MACHINES =
'Virtual machines'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/ovh-api/models/dedicated_storage_template_usage_options_enum.rb', line 16 def self.all @all ||= [ DATABASES, DEFAULT, FILE_SYSTEMS__BIG_FILES, VIRTUAL_MACHINES, ].freeze end |
.valid?(value) ⇒ Boolean
25 26 27 |
# File 'lib/ovh-api/models/dedicated_storage_template_usage_options_enum.rb', line 25 def self.valid?(value) all.include?(value) end |