Sha256: cfc430fdc671a307ccda57d4744b702277d0ad96cd97df2a5820cd55577cff17

Contents?: true

Size: 603 Bytes

Versions: 2

Compression:

Stored size: 603 Bytes

Contents

namespace :bigbluebutton_rails do
  namespace :recordings do

    desc "Fetch recordings in all servers"
    task :update => :environment do
      BigbluebuttonServer.all.each do |server|
        begin
          server.fetch_recordings
          puts "[rake bigbluebutton_rails:recordings:update] List of recordings from #{server.url} updated successfully"
        rescue Exception => e
          puts "[rake bigbluebutton_rails:recordings:update] Failure fetching recordings from #{server.inspect}"
          puts e.inspect
          puts e.backtrace.join "\n"
        end
      end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bigbluebutton_rails-1.4.0 lib/tasks/bigbluebutton_rails/recordings.rake
bigbluebutton_rails-1.4.0.beta1 lib/tasks/bigbluebutton_rails/recordings.rake