adobe_connect_api 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -78,10 +78,7 @@ module XMLParser
|
|
78
78
|
data = XmlSimple.xml_in(xml)
|
79
79
|
|
80
80
|
if data['description']
|
81
|
-
|
82
|
-
puts data.class
|
83
|
-
puts data['description'].inspect
|
84
|
-
return data['description'].first
|
81
|
+
return data['sco'].first['description']
|
85
82
|
else
|
86
83
|
raise "No description information found."
|
87
84
|
end
|
@@ -92,7 +89,7 @@ module XMLParser
|
|
92
89
|
data = XmlSimple.xml_in(xml)
|
93
90
|
|
94
91
|
if data['lang']
|
95
|
-
|
92
|
+
data['sco'].first['lang']
|
96
93
|
else
|
97
94
|
raise "No language information found."
|
98
95
|
end
|