Module: CanvasWebex

Defined in:
lib/canvas_webex.rb,
lib/canvas_webex/meeting.rb,
lib/canvas_webex/service.rb,
lib/canvas_webex/version.rb,
lib/canvas_webex/training.rb,
lib/canvas_webex/webex_session.rb

Overview

Copyright © 2013 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 <www.gnu.org/licenses/>.

Defined Under Namespace

Classes: ConnectionError, Engine, Meeting, Service, Training, WebexSession

Constant Summary collapse

VERSION =
"0.18.2"

Class Method Summary collapse

Class Method Details

.clientObject

Return a cached Connect Service object to make requests with.

Returns a CiscoWwebex::Service.



40
41
42
# File 'lib/canvas_webex.rb', line 40

def self.client
  Service.new(*self.config.values_at(:webex_service, :webex_id, :password_dec, :site_id, :site_name, :partner_id, :meeting_password_dec))
end

.configObject

Public: Find the plugin configuration.

Returns a settings hash.



33
34
35
# File 'lib/canvas_webex.rb', line 33

def self.config
  Canvas::Plugin.find('cisco_webex').settings || {}
end