Module: Ovh::Api::Models::LicenseOfficeServiceStateEnum
- Defined in:
- lib/ovh-api/models/license_office_service_state_enum.rb
Constant Summary collapse
- CREATING =
'creating'- IN_MAINTENANCE =
'inMaintenance'- OK =
'ok'- REOPENING =
'reopening'- SUSPENDED =
'suspended'- SUSPENDING =
'suspending'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
18 19 20 21 22 23 24 25 26 27 |
# File 'lib/ovh-api/models/license_office_service_state_enum.rb', line 18 def self.all @all ||= [ CREATING, IN_MAINTENANCE, OK, REOPENING, SUSPENDED, SUSPENDING, ].freeze end |
.valid?(value) ⇒ Boolean
29 30 31 |
# File 'lib/ovh-api/models/license_office_service_state_enum.rb', line 29 def self.valid?(value) all.include?(value) end |