kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

Error in docs? #170

Closed webdevotion closed 11 years ago

webdevotion commented 11 years ago

Hello

Is the last line correct?

https://github.com/kylejginavan/youtube_it#video-queries ( subsection "standard queries" )

.....
$ client.get_all_videos(:top_rated, :time => :today)

From the source code it seems get_all_videos only accepts one argument: https://github.com/kylejginavan/youtube_it/blob/master/lib/youtube_it/client.rb#L105

chebyte commented 11 years ago

this one is correct, cause opts is a hash

thanks!