Module: Ovh::Api::Models::VpsIpGeolocationEnum
- Defined in:
- lib/ovh-api/models/vps_ip_geolocation_enum.rb
Constant Summary collapse
- AT =
'at'- AU =
'au'- BE =
'be'- CA =
'ca'- CH =
'ch'- CZ =
'cz'- DE =
'de'- ES =
'es'- FI =
'fi'- FR =
'fr'- GB =
'gb'- IE =
'ie'- IN =
'in'- IT =
'it'- LT =
'lt'- NL =
'nl'- PL =
'pl'- PT =
'pt'- SG =
'sg'- UK =
'uk'- US =
'us'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/ovh-api/models/vps_ip_geolocation_enum.rb', line 33 def self.all @all ||= [ AT, AU, BE, CA, CH, CZ, DE, ES, FI, FR, GB, IE, IN, IT, LT, NL, PL, PT, SG, UK, US, ].freeze end |
.valid?(value) ⇒ Boolean
59 60 61 |
# File 'lib/ovh-api/models/vps_ip_geolocation_enum.rb', line 59 def self.valid?(value) all.include?(value) end |