Module: Ovh::Api::Models::DedicatedServerBandwidthOrderTypeEnum
- Defined in:
- lib/ovh-api/models/dedicated_server_bandwidth_order_type_enum.rb
Constant Summary collapse
- PLATINUM =
'platinum'- PREMIUM =
'premium'- ULTIMATE =
'ultimate'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/ovh-api/models/dedicated_server_bandwidth_order_type_enum.rb', line 15 def self.all @all ||= [ PLATINUM, PREMIUM, ULTIMATE, ].freeze end |
.valid?(value) ⇒ Boolean
23 24 25 |
# File 'lib/ovh-api/models/dedicated_server_bandwidth_order_type_enum.rb', line 23 def self.valid?(value) all.include?(value) end |