add conference options to the broadcasts; implement auth to microsoft

This commit is contained in:
Bilal
2020-08-20 13:09:10 +03:00
parent 4b5238435a
commit 1d29f14953
25 changed files with 508 additions and 47 deletions

View File

@@ -0,0 +1,17 @@
module BroadcastConferencesHelper
def options_for_conference_select
[
['Zoom', 'zoom'],
['MS Teams', 'ms_teams']
]
end
def conference_option_name_from_key(key)
option = options_for_conference_select.find { |option| option[1] == key }
if option.present?
option.first
else
'Unknown conference option'
end
end
end