Module: Ovh::Api::Models::TelephonyPortabilityCountriesAvailable
- Defined in:
- lib/ovh-api/models/telephony_portability_countries_available.rb
Constant Summary collapse
- BELGIUM =
'belgium'- FRANCE =
'france'- SWITZERLAND =
'switzerland'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/ovh-api/models/telephony_portability_countries_available.rb', line 15 def self.all @all ||= [ BELGIUM, FRANCE, SWITZERLAND, ].freeze end |
.valid?(value) ⇒ Boolean
23 24 25 |
# File 'lib/ovh-api/models/telephony_portability_countries_available.rb', line 23 def self.valid?(value) all.include?(value) end |