Sha256: 4a5417fad229ba95cecd224d735eb2a1a74d5cafaaea081e8d1b8e73c130ab25

Contents?: true

Size: 264 Bytes

Versions: 2

Compression:

Stored size: 264 Bytes

Contents

module Workarea
  module Admin
    class YoutubeVideosController < Admin::ApplicationController
      def index
        response = JSON.parse(YoutubePlaylists.get_list_data({:maxResults => 300}).read)
        @search = response["items"]
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
workarea-youtube_playlists-0.1.2 app/controllers/workarea/admin/youtube_videos_controller.rb
workarea-youtube_playlists-0.1.1 app/controllers/workarea/admin/youtube_videos_controller.rb