canvas_webex 0.0.1 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/canvas_webex/service.rb +2 -4
- data/lib/canvas_webex/version.rb +1 -1
- metadata +2 -2
data/lib/canvas_webex/service.rb
CHANGED
@@ -109,10 +109,8 @@ module CanvasWebex
|
|
109
109
|
uri = URI.parse("https://#{@site_name}.webex.com")
|
110
110
|
http = Net::HTTP.new(uri.host, uri.port)
|
111
111
|
http.use_ssl = true
|
112
|
-
|
113
|
-
|
114
|
-
request.body = body
|
115
|
-
xml = Nokogiri::XML(http.request(request).body).remove_namespaces!
|
112
|
+
response = http.post('/WBXService/XMLService', body)
|
113
|
+
xml = Nokogiri::XML(response.body).remove_namespaces!
|
116
114
|
xml.at_xpath('/message/header/response/result').try(:text) == 'SUCCESS' && xml.at_xpath('/message/body/bodyContent')
|
117
115
|
end
|
118
116
|
|
data/lib/canvas_webex/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: canvas_webex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: '0.2'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|