canvas_webex 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/canvas_webex.rb +8 -5
- data/lib/canvas_webex/version.rb +1 -1
- metadata +1 -1
data/lib/canvas_webex.rb
CHANGED
@@ -17,10 +17,6 @@
|
|
17
17
|
#
|
18
18
|
|
19
19
|
require_dependency "canvas_webex/version"
|
20
|
-
require_dependency "canvas/plugins/validators/cisco_webex_validator"
|
21
|
-
require_dependency "canvas/plugins/cisco_webex"
|
22
|
-
require_dependency "canvas_webex/service"
|
23
|
-
require_dependency "canvas_webex/meeting"
|
24
20
|
|
25
21
|
module CanvasWebex
|
26
22
|
class ConnectionError < StandardError; end
|
@@ -35,7 +31,14 @@ module CanvasWebex
|
|
35
31
|
ApplicationController.view_paths.unshift(view_path)
|
36
32
|
end
|
37
33
|
|
38
|
-
|
34
|
+
path = File.expand_path('../app/models', File.dirname(__FILE__))
|
35
|
+
ActiveSupport::Dependencies.autoload_paths << path unless ActiveSupport::Dependencies.autoload_paths.include? path
|
36
|
+
|
37
|
+
require_dependency File.expand_path('../app/models/cisco_webex_conference.rb', File.dirname(__FILE__))
|
38
|
+
require_dependency "canvas/plugins/validators/cisco_webex_validator"
|
39
|
+
require_dependency "canvas/plugins/cisco_webex"
|
40
|
+
require_dependency "canvas_webex/service"
|
41
|
+
require_dependency "canvas_webex/meeting"
|
39
42
|
|
40
43
|
Canvas::Plugins::CiscoWebex.new
|
41
44
|
end
|
data/lib/canvas_webex/version.rb
CHANGED