Module: Ovh::Api::Models::HostingWebMailActionEnum
- Defined in:
- lib/ovh-api/models/hosting_web_mail_action_enum.rb
Constant Summary collapse
- BLOCK =
'BLOCK'- PURGE =
'PURGE'- UNBLOCK =
'UNBLOCK'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/ovh-api/models/hosting_web_mail_action_enum.rb', line 15 def self.all @all ||= [ BLOCK, PURGE, UNBLOCK, ].freeze end |
.valid?(value) ⇒ Boolean
23 24 25 |
# File 'lib/ovh-api/models/hosting_web_mail_action_enum.rb', line 23 def self.valid?(value) all.include?(value) end |