Module: Proxy::Omaha::Track

Defined in:
lib/smart_proxy_omaha/track.rb

Constant Summary collapse

TRACKS =

edge

['alpha', 'beta', 'stable'].freeze

Class Method Summary collapse

Class Method Details

.allObject



6
7
8
# File 'lib/smart_proxy_omaha/track.rb', line 6

def self.all
  TRACKS
end

.valid?(track) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/smart_proxy_omaha/track.rb', line 10

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