Module: Xunlei::Configurator

Included in:
Helper::CLIHelper
Defined in:
lib/xunlei/configurator.rb

Instance Method Summary collapse

Instance Method Details

#chromedriver_zip_nameObject



28
29
30
# File 'lib/xunlei/configurator.rb', line 28

def chromedriver_zip_name
  "chromedriver_mac.zip"
end

#xunlei_cookies_pathObject



12
13
14
# File 'lib/xunlei/configurator.rb', line 12

def xunlei_cookies_path
  File.join(xunlei_folder_path, "cookies.txt")
end

#xunlei_credential_file_pathObject



20
21
22
# File 'lib/xunlei/configurator.rb', line 20

def xunlei_credential_file_path
  File.join(xunlei_folder_path, "credentials.yml")
end

#xunlei_downloaded_tasks_pathObject



24
25
26
# File 'lib/xunlei/configurator.rb', line 24

def xunlei_downloaded_tasks_path
  File.join(xunlei_folder_path, "downloaded.yml")
end

#xunlei_folder_nameObject



4
5
6
# File 'lib/xunlei/configurator.rb', line 4

def xunlei_folder_name
  "~/.xunlei"
end

#xunlei_folder_pathObject



8
9
10
# File 'lib/xunlei/configurator.rb', line 8

def xunlei_folder_path
  File.expand_path(xunlei_folder_name)
end

#xunlei_tasks_pathObject



16
17
18
# File 'lib/xunlei/configurator.rb', line 16

def xunlei_tasks_path
  File.join(xunlei_folder_path, "all_tasks.yml")
end