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