Module: Ovh::Api::Models::TelephonyNumberSpecialTypologyEnum

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

Constant Summary collapse

FR_ACCESS =
'fr_access'
FR_ANNOUNCED =
'fr_announced'
FR_CONFERENCING =
'fr_conferencing'
FR_CONTENTS_AUTO =
'fr_contentsAuto'
FR_CONTENTS_MANUAL =
'fr_contentsManual'
FR_GAMES =
'fr_games'
FR_LINKING =
'fr_linking'
FR_M2M =
'fr_m2m'
FR_RELATIONSHIP =
'fr_relationship'

Class Method Summary collapse

Class Method Details

.allObject



21
22
23
24
25
26
27
28
29
30
31
32
33
# File 'lib/ovh-api/models/telephony_number_special_typology_enum.rb', line 21

def self.all
  @all ||= [
    FR_ACCESS,
    FR_ANNOUNCED,
    FR_CONFERENCING,
    FR_CONTENTS_AUTO,
    FR_CONTENTS_MANUAL,
    FR_GAMES,
    FR_LINKING,
    FR_M2M,
    FR_RELATIONSHIP,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/ovh-api/models/telephony_number_special_typology_enum.rb', line 35

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