Sha256: 98fae0491b279278bc2c6d17572caf5dade6d094e222bbf062b18bd10547c0e3

Contents?: true

Size: 1.6 KB

Versions: 3

Compression:

Stored size: 1.6 KB

Contents

#
# Copyright (C) 2012 Instructure, Inc.
#
# This file is part of Canvas.
#
# Canvas is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, version 3 of the License.
#
# Canvas is distributed in the hope that it will be useful, but WITHOUT ANY
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
# A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License along
# with this program. If not, see <http://www.gnu.org/licenses/>.
#
require 'canvas_webex/version'

module Canvas
  module Plugins
    class CiscoWebex

      # Public: Bootstrap the gem on app load.
      #
      # Returns nothing.
      def initialize; register; end

      protected
      # Internal: Register as a plugin with Canvas
      #
      # Returns a Canvas plugin object
      def register
        Canvas::Plugin.register('cisco_webex', :web_conferencing, {
          :name => lambda { t(:name, 'Cisco WebEx') },
          :description => lambda { t(:description, 'Cisco WebEx web conferencing support.') },
          :author => 'Instructure',
          :author_website => 'http://instructure.com',
          :version => CanvasWebex::VERSION,
          :settings_partial => 'plugins/webex_settings',
          :settings => {
              :webex_service => nil
          },
          :validator => 'CiscoWebexValidator',
          :encrypted_settings => [:password, :meeting_password]
        })
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
canvas_webex-0.18.2 lib/canvas/plugins/cisco_webex.rb
canvas_webex-0.18.1 lib/canvas/plugins/cisco_webex.rb
canvas_webex-0.18.0 lib/canvas/plugins/cisco_webex.rb