Module: Ovh::Api::Models::NutanixPctypeEnum
- Defined in:
- lib/ovh-api/models/nutanix_pctype_enum.rb
Constant Summary collapse
- ALONE =
'alone'- SCALE =
'scale'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
14 15 16 17 18 19 |
# File 'lib/ovh-api/models/nutanix_pctype_enum.rb', line 14 def self.all @all ||= [ ALONE, SCALE, ].freeze end |
.valid?(value) ⇒ Boolean
21 22 23 |
# File 'lib/ovh-api/models/nutanix_pctype_enum.rb', line 21 def self.valid?(value) all.include?(value) end |