Class: CityWatchCommandLine

Inherits:
Thor
  • Object
show all
Defined in:
bin/city_watch

Instance Method Summary collapse

Instance Method Details

#start(url, build_title, project_id) ⇒ Object



7
8
9
10
11
12
# File 'bin/city_watch', line 7

def start(url, build_title, project_id)
  CityWatch.url = url
  CityWatch.build_title = build_title
  CityWatch.build_title = project_id
  daemon
end

#stopObject



15
16
17
# File 'bin/city_watch', line 15

def stop
  daemon
end