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