Class: AppService

Inherits:
Object
  • Object
show all
Defined in:
lib/app_service.rb

Instance Method Summary collapse

Instance Method Details

#startObject



9
10
11
12
13
# File 'lib/app_service.rb', line 9

def start
  puts 'start app_service'
  consul_service.start
  cassandra_service.start
end

#stopObject



15
16
17
18
19
# File 'lib/app_service.rb', line 15

def stop
  puts 'stop app_service'
  consul_service.stop
  cassandra_service.stop
end