Module: Ovh::Api::Models::HostingWebPhpVersionStateEnum
- Defined in:
- lib/ovh-api/models/hosting_web_php_version_state_enum.rb
Constant Summary collapse
- BETA =
'BETA'- END_OF_LIFE =
'END_OF_LIFE'- SECURITY_FIXES =
'SECURITY_FIXES'- SUPPORTED =
'SUPPORTED'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/ovh-api/models/hosting_web_php_version_state_enum.rb', line 16 def self.all @all ||= [ BETA, END_OF_LIFE, SECURITY_FIXES, SUPPORTED, ].freeze end |
.valid?(value) ⇒ Boolean
25 26 27 |
# File 'lib/ovh-api/models/hosting_web_php_version_state_enum.rb', line 25 def self.valid?(value) all.include?(value) end |