class YtDownloader::Config

Constants

FLAC_FORMAT
MP3_FORMAT
MP4_FORMAT

Public Class Methods

audio_format() click to toggle source

@return [String]

# File lib/yt_downloader/config.rb, line 21
def audio_format
  MP3_FORMAT
end
destination_path() click to toggle source

@return [String]

# File lib/yt_downloader/config.rb, line 11
def destination_path
  './yt_downloader/audios'
end
logger_path() click to toggle source

@return [String]

# File lib/yt_downloader/config.rb, line 16
def logger_path
  './yt_downloader/logs/successful.txt'
end
supported_audio_formats() click to toggle source

@return [Array]

# File lib/yt_downloader/config.rb, line 26
def supported_audio_formats
  [MP3_FORMAT, MP4_FORMAT, FLAC_FORMAT]
end