Module: Ovh::Api::Models::SslGatewayServerStateEnum

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

Constant Summary collapse

CREATING =
'creating'
DELETED =
'deleted'
DELETING =
'deleting'
INTERNAL =
'internal'
OK =
'ok'
UPDATING =
'updating'

Class Method Summary collapse

Class Method Details

.allObject



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

def self.all
  @all ||= [
    CREATING,
    DELETED,
    DELETING,
    INTERNAL,
    OK,
    UPDATING,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


29
30
31
# File 'lib/ovh-api/models/ssl_gateway_server_state_enum.rb', line 29

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