Module: Xunlei::Configurator
- Included in:
- Helper::CLIHelper
- Defined in:
- lib/xunlei/configurator.rb
Instance Method Summary collapse
- #chromedriver_zip_name ⇒ Object
- #xunlei_cookies_path ⇒ Object
- #xunlei_credential_file_path ⇒ Object
- #xunlei_downloaded_tasks_path ⇒ Object
- #xunlei_folder_name ⇒ Object
- #xunlei_folder_path ⇒ Object
- #xunlei_tasks_path ⇒ Object
Instance Method Details
#chromedriver_zip_name ⇒ Object
28 29 30 |
# File 'lib/xunlei/configurator.rb', line 28 def chromedriver_zip_name "chromedriver_mac.zip" end |
#xunlei_cookies_path ⇒ Object
12 13 14 |
# File 'lib/xunlei/configurator.rb', line 12 def File.join(xunlei_folder_path, "cookies.txt") end |
#xunlei_credential_file_path ⇒ Object
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_path ⇒ Object
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_name ⇒ Object
4 5 6 |
# File 'lib/xunlei/configurator.rb', line 4 def xunlei_folder_name "~/.xunlei" end |
#xunlei_folder_path ⇒ Object
8 9 10 |
# File 'lib/xunlei/configurator.rb', line 8 def xunlei_folder_path File.(xunlei_folder_name) end |
#xunlei_tasks_path ⇒ Object
16 17 18 |
# File 'lib/xunlei/configurator.rb', line 16 def xunlei_tasks_path File.join(xunlei_folder_path, "all_tasks.yml") end |