Module: Ovh::Api::Models::EmailExchangeServerStateEnum
- Defined in:
- lib/ovh-api/models/email_exchange_server_state_enum.rb
Constant Summary collapse
- CONFIGURATION_ERROR =
'configurationError'- CONFIGURATION_PENDING =
'configurationPending'- NOT_CONFIGURED =
'notConfigured'- OK =
'ok'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/ovh-api/models/email_exchange_server_state_enum.rb', line 16 def self.all @all ||= [ CONFIGURATION_ERROR, CONFIGURATION_PENDING, NOT_CONFIGURED, OK, ].freeze end |
.valid?(value) ⇒ Boolean
25 26 27 |
# File 'lib/ovh-api/models/email_exchange_server_state_enum.rb', line 25 def self.valid?(value) all.include?(value) end |