Module: Ovh::Api::Models::TelephonySecurityDepositAmountsEnum

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

Constant Summary collapse

N10 =
'10'
N20 =
'20'
N30 =
'30'
N40 =
'40'
N50 =
'50'
N100 =
'100'
N200 =
'200'
N300 =
'300'
N400 =
'400'
N500 =
'500'
N1000 =
'1000'
N2000 =
'2000'
N3000 =
'3000'
N4000 =
'4000'
N5000 =
'5000'
N10000 =
'10000'

Class Method Summary collapse

Class Method Details

.allObject



28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/ovh-api/models/telephony_security_deposit_amounts_enum.rb', line 28

def self.all
  @all ||= [
    N10,
    N20,
    N30,
    N40,
    N50,
    N100,
    N200,
    N300,
    N400,
    N500,
    N1000,
    N2000,
    N3000,
    N4000,
    N5000,
    N10000,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


49
50
51
# File 'lib/ovh-api/models/telephony_security_deposit_amounts_enum.rb', line 49

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