module BigbluebuttonRails
Constants
- VERSION
Attributes
configuration[RW]
Public Class Methods
configure() { |configuration| ... }
click to toggle source
# File lib/bigbluebutton_rails.rb, line 30 def self.configure yield(configuration) end
reset()
click to toggle source
# File lib/bigbluebutton_rails.rb, line 26 def self.reset @configuration = Configuration.new end
use_mobile_client?(browser)
click to toggle source
Returns whether the current client should use the mobile client or the desktop client.
# File lib/bigbluebutton_rails/utils.rb, line 7 def self.use_mobile_client?(browser) browser.mobile? || browser.tablet? end
value_to_boolean(value)
click to toggle source
Just a wrapper around the Rails method to convert values to boolean
# File lib/bigbluebutton_rails/utils.rb, line 12 def self.value_to_boolean(value) ActiveRecord::ConnectionAdapters::Column.value_to_boolean(value) end