Module: Ovh::Api::Models::HostingWebMailStateEnum
- Defined in:
- lib/ovh-api/models/hosting_web_mail_state_enum.rb
Constant Summary collapse
- BOUNCE =
'bounce'- FORCE =
'force'- KO =
'ko'- OK =
'ok'- PURGING =
'purging'- SPAM =
'spam'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/ovh-api/models/hosting_web_mail_state_enum.rb', line 18 def self.all @all ||= [ BOUNCE, FORCE, KO, OK, PURGING, SPAM, ].freeze end |
.valid?(value) ⇒ Boolean
29 30 31 |
# File 'lib/ovh-api/models/hosting_web_mail_state_enum.rb', line 29 def self.valid?(value) all.include?(value) end |