forked from External/greenlight
sessions and fixes
This commit is contained in:
@ -4,13 +4,12 @@ class Meeting < ApplicationRecord
|
||||
|
||||
validates :name, presence: true
|
||||
|
||||
belongs_to :room
|
||||
belongs_to :room, optional: true
|
||||
|
||||
RETURNCODE_SUCCESS = "SUCCESS"
|
||||
|
||||
# Creates a meeting on the BigBlueButton server.
|
||||
def start_meeting(options = {})
|
||||
puts bbb
|
||||
create_options = {
|
||||
record: options[:meeting_recorded].to_s,
|
||||
logoutURL: options[:meeting_logout_url] || '',
|
||||
@ -154,4 +153,4 @@ class Meeting < ApplicationRecord
|
||||
o = ([('a'..'z'), ('A'..'Z')].map do |i| i.to_a end).flatten
|
||||
((0...length).map do o[rand(o.length)] end).join
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user