Module: Ovh::Api::Models::HostingWebEnvVarTypeEnum
- Defined in:
- lib/ovh-api/models/hosting_web_env_var_type_enum.rb
Constant Summary collapse
- INTEGER =
'integer'- PASSWORD =
'password'- STRING =
'string'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/ovh-api/models/hosting_web_env_var_type_enum.rb', line 15 def self.all @all ||= [ INTEGER, PASSWORD, STRING, ].freeze end |
.valid?(value) ⇒ Boolean
23 24 25 |
# File 'lib/ovh-api/models/hosting_web_env_var_type_enum.rb', line 23 def self.valid?(value) all.include?(value) end |