Module: Ovh::Api::Models::SslGatewayStateEnum
- Defined in:
- lib/ovh-api/models/ssl_gateway_state_enum.rb
Constant Summary collapse
- CREATING =
'creating'- DELETED =
'deleted'- DELETING =
'deleting'- HTTP_ONLY =
'http-only'- INTERNAL =
'internal'- OK =
'ok'- SUSPENDED =
'suspended'- UPGRADING =
'upgrading'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/ovh-api/models/ssl_gateway_state_enum.rb', line 20 def self.all @all ||= [ CREATING, DELETED, DELETING, HTTP_ONLY, INTERNAL, OK, SUSPENDED, UPGRADING, ].freeze end |
.valid?(value) ⇒ Boolean
33 34 35 |
# File 'lib/ovh-api/models/ssl_gateway_state_enum.rb', line 33 def self.valid?(value) all.include?(value) end |