Module: Ovh::Api::Models::HostingWebOvhconfigContainerEnum

Defined in:
lib/ovh-api/models/hosting_web_ovhconfig_container_enum.rb

Constant Summary collapse

JESSIE_I386 =
'jessie.i386'
LEGACY =
'legacy'
STABLE =
'stable'
STABLE64 =
'stable64'
TESTING =
'testing'

Class Method Summary collapse

Class Method Details

.allObject



17
18
19
20
21
22
23
24
25
# File 'lib/ovh-api/models/hosting_web_ovhconfig_container_enum.rb', line 17

def self.all
  @all ||= [
    JESSIE_I386,
    LEGACY,
    STABLE,
    STABLE64,
    TESTING,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


27
28
29
# File 'lib/ovh-api/models/hosting_web_ovhconfig_container_enum.rb', line 27

def self.valid?(value)
  all.include?(value)
end