Module: Ovh::Api::Models::TelephonyBillingAccountStatusEnum
- Defined in:
- lib/ovh-api/models/telephony_billing_account_status_enum.rb
Constant Summary collapse
- CLOSED =
'closed'- DELETED =
'deleted'- ENABLED =
'enabled'- EXPIRED =
'expired'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
16 17 18 19 20 21 22 23 |
# File 'lib/ovh-api/models/telephony_billing_account_status_enum.rb', line 16 def self.all @all ||= [ CLOSED, DELETED, ENABLED, EXPIRED, ].freeze end |
.valid?(value) ⇒ Boolean
25 26 27 |
# File 'lib/ovh-api/models/telephony_billing_account_status_enum.rb', line 25 def self.valid?(value) all.include?(value) end |