Sha256: ae1a426385bd22ed97353c50f27c858fc61078f3a063c346eb58e4f790541874
Contents?: true
Size: 406 Bytes
Versions: 8
Compression:
Stored size: 406 Bytes
Contents
class YouTubeG module Request #:nodoc: class UserSearch < BaseSearch #:nodoc: def initialize(params, options={}) @url = base_url return @url << "#{options[:user]}/favorites" if params == :favorites @url << "#{params[:user]}/uploads" if params[:user] end private def base_url #:nodoc: super << "users/" end end end end
Version data entries
8 entries across 8 versions & 4 rubygems