Module: Ovh::Api::Models::TelephonyOvhPabxHuntingAgentStatusEnum
- Defined in:
- lib/ovh-api/models/telephony_ovh_pabx_hunting_agent_status_enum.rb
Constant Summary collapse
- AVAILABLE =
'available'- LOGGED_OUT =
'loggedOut'- ON_BREAK =
'onBreak'
Class Method Summary collapse
Class Method Details
.all ⇒ Object
15 16 17 18 19 20 21 |
# File 'lib/ovh-api/models/telephony_ovh_pabx_hunting_agent_status_enum.rb', line 15 def self.all @all ||= [ AVAILABLE, LOGGED_OUT, ON_BREAK, ].freeze end |
.valid?(value) ⇒ Boolean
23 24 25 |
# File 'lib/ovh-api/models/telephony_ovh_pabx_hunting_agent_status_enum.rb', line 23 def self.valid?(value) all.include?(value) end |