Class: Focus::StartBlinkServer
- Inherits:
-
Action
- Object
- Action
- Focus::StartBlinkServer
show all
- Defined in:
- lib/focus/actions/start_blink_server.rb
Instance Method Summary
collapse
Methods inherited from Action
#call, #config, #error_message
Instance Method Details
3
4
5
6
7
8
|
# File 'lib/focus/actions/start_blink_server.rb', line 3
def perform
verify_blink_server_installed
Utils::WebClient.get(config.blink_server)
rescue Errno::ECONNREFUSED
start_blink_server
end
|