Module: Ovh::Api::Models::StartupLastFundraisingEnum

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

Constant Summary collapse

CROWDFUNDING =
'Crowdfunding'
DONT_SHARE =
'DontShare'
MORE =
'More'
NO =
'No'
PRE_SEED =
'PreSeed'
SEED =
'Seed'
SERIES_A =
'Series_A'
SERIES_B =
'Series_B'
SERIES_C =
'Series_C'

Class Method Summary collapse

Class Method Details

.allObject



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

def self.all
  @all ||= [
    CROWDFUNDING,
    DONT_SHARE,
    MORE,
    NO,
    PRE_SEED,
    SEED,
    SERIES_A,
    SERIES_B,
    SERIES_C,
  ].freeze
end

.valid?(value) ⇒ Boolean

Returns:

  • (Boolean)


35
36
37
# File 'lib/ovh-api/models/startup_last_fundraising_enum.rb', line 35

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