Module: Ovh::Api::Models::LicenseOrderableAntivirusEnum

Defined in:
lib/ovh-api/models/license_orderable_antivirus_enum.rb

Constant Summary collapse

DR_WEB =
'DR_WEB'
KASPERSKY_UNLIMITED_MAILBOXES =
'KASPERSKY_UNLIMITED_MAILBOXES'
KASPERSKY =
'kaspersky'

Class Method Summary collapse

Class Method Details

.allObject



15
16
17
18
19
20
21
# File 'lib/ovh-api/models/license_orderable_antivirus_enum.rb', line 15

def self.all
  @all ||= [
    DR_WEB,
    KASPERSKY_UNLIMITED_MAILBOXES,
    KASPERSKY,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


23
24
25
# File 'lib/ovh-api/models/license_orderable_antivirus_enum.rb', line 23

def self.valid?(value)
  all.include?(value)
end