class YoutubeAudio::Download

Attributes

url[R]

@return [String]

Public Class Methods

new(url) click to toggle source

@param url [String] youtube link

# File lib/youtube_audio/download.rb, line 9
def initialize(url)
  @url = url
end

Public Instance Methods

formats() click to toggle source
# File lib/youtube_audio/download.rb, line 13
def formats
  @formats ||= Formats.new(url).formats
end