Module: Ovh::Api::Models::OverTheBoxServiceStatusEnum
- Defined in:
- lib/ovh-api/models/over_the_box_service_status_enum.rb
Constant Summary collapse
- ACTIVE =
'active'- CREATING =
'creating'- DELETED =
'deleted'- SUSPENDED =
'suspended'- TO_CREATE =
'toCreate'- TO_DELETE =
'toDelete'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/ovh-api/models/over_the_box_service_status_enum.rb', line 18 def self.all @all ||= [ ACTIVE, CREATING, DELETED, SUSPENDED, TO_CREATE, TO_DELETE, ].freeze end |
.valid?(value) ⇒ Boolean
29 30 31 |
# File 'lib/ovh-api/models/over_the_box_service_status_enum.rb', line 29 def self.valid?(value) all.include?(value) end |