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