Class: BigbluebuttonUpdateRecordings

Inherits:
Object
  • Object
show all
Defined in:
app/workers/bigbluebutton_update_recordings.rb

Overview

A resque worker to get the list of recordings from the server and update the database. Same as “rake bigbluebutton_rails:recordings:update”.

Class Method Summary collapse

Class Method Details

.perform(server_id = nil) ⇒ Object



7
8
9
10
# File 'app/workers/bigbluebutton_update_recordings.rb', line 7

def self.perform(server_id=nil)
  Rails.logger.info "BigbluebuttonUpdateRecordings worker running"
  BigbluebuttonRails::BackgroundTasks.update_recordings(server_id)
end