Sha256: 5a7f20a8bd3507ba1fe7824b2247cf6f44877b3cb7b76ec37bef524df4ccdf06

Contents?: true

Size: 341 Bytes

Versions: 14

Compression:

Stored size: 341 Bytes

Contents

require 'youtube_g'

module Caboodle
  class Youtube < Caboodle::Kit
    description "Display's a user's public videos as a page"
    
    required [:youtube_username]
    
    menu "Youtube" do
      client = YouTubeG::Client.new
      @videos = client.videos_by(:user => @youtube_username).videos
      haml :youtube
    end
    
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
caboodle-0.3.0 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.30 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.29 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.28 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.27 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.26 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.25 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.24 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.23 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.22 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.21 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.20 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.19 lib/caboodle/kits/youtube/youtube.rb
caboodle-0.2.18 lib/caboodle/kits/youtube/youtube.rb