Module: BigbluebuttonRails
- Defined in:
- lib/bigbluebutton_rails.rb,
lib/bigbluebutton_rails/rails.rb,
lib/bigbluebutton_rails/utils.rb,
lib/bigbluebutton_rails/version.rb,
lib/bigbluebutton_rails/exceptions.rb,
lib/bigbluebutton_rails/controller_methods.rb,
lib/generators/bigbluebutton_rails/views_generator.rb,
lib/generators/bigbluebutton_rails/install_generator.rb
Defined Under Namespace
Modules: ControllerMethods, Generators Classes: Engine, RoomAccessDenied, ServerRequired
Constant Summary collapse
- VERSION =
"1.1.0".freeze
- @@controllers =
{ :servers => 'bigbluebutton/servers', :rooms => 'bigbluebutton/rooms' }
- @@routing_scope =
'bigbluebutton'
Class Method Summary collapse
- .set_controllers(options) ⇒ Object
-
.value_to_boolean(value) ⇒ Object
just a wrapper around the Rails method to convert values to boolean.
Class Method Details
.set_controllers(options) ⇒ Object
20 21 22 |
# File 'lib/bigbluebutton_rails.rb', line 20 def self.set_controllers() @@controllers.merge!().slice!(:servers, :rooms) unless .nil? end |
.value_to_boolean(value) ⇒ Object
just a wrapper around the Rails method to convert values to boolean
4 5 6 |
# File 'lib/bigbluebutton_rails/utils.rb', line 4 def self.value_to_boolean(value) ActiveRecord::ConnectionAdapters::Column.value_to_boolean(value) end |