Module: Ovh::Api::Models::SupportTicketSubCategoryEnum

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

Constant Summary collapse

ALERTS =
'alerts'
AUTORENEW =
'autorenew'
BILL =
'bill'
DOWN =
'down'
IN_PROGRESS =
'inProgress'
NEW =
'new'
OTHER =
'other'
PERFS =
'perfs'
START =
'start'
USAGE =
'usage'

Class Method Summary collapse

Class Method Details

.allObject



22
23
24
25
26
27
28
29
30
31
32
33
34
35
# File 'lib/ovh-api/models/support_ticket_sub_category_enum.rb', line 22

def self.all
  @all ||= [
    ALERTS,
    AUTORENEW,
    BILL,
    DOWN,
    IN_PROGRESS,
    NEW,
    OTHER,
    PERFS,
    START,
    USAGE,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


37
38
39
# File 'lib/ovh-api/models/support_ticket_sub_category_enum.rb', line 37

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