Module: Ovh::Api::Models::TelephonyEasyHuntingScreenListsConditionsStatusEnum

Defined in:
lib/ovh-api/models/telephony_easy_hunting_screen_lists_conditions_status_enum.rb

Constant Summary collapse

DISABLED =
'disabled'
INCOMING_BLACK_LIST =
'incomingBlackList'
INCOMING_WHITE_LIST =
'incomingWhiteList'

Class Method Summary collapse

Class Method Details

.allObject



15
16
17
18
19
20
21
# File 'lib/ovh-api/models/telephony_easy_hunting_screen_lists_conditions_status_enum.rb', line 15

def self.all
  @all ||= [
    DISABLED,
    INCOMING_BLACK_LIST,
    INCOMING_WHITE_LIST,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/ovh-api/models/telephony_easy_hunting_screen_lists_conditions_status_enum.rb', line 23

def self.valid?(value)
  all.include?(value)
end