adobe_connect_api 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,7 @@ module XMLParser
|
|
77
77
|
def get_description(xml)
|
78
78
|
data = XmlSimple.xml_in(xml)
|
79
79
|
|
80
|
-
if data['description']
|
80
|
+
if data['sco'].first['description']
|
81
81
|
return data['sco'].first['description']
|
82
82
|
else
|
83
83
|
raise "No description information found."
|
@@ -88,7 +88,7 @@ module XMLParser
|
|
88
88
|
def get_language(xml)
|
89
89
|
data = XmlSimple.xml_in(xml)
|
90
90
|
|
91
|
-
if data['lang']
|
91
|
+
if data['sco'].first['lang']
|
92
92
|
data['sco'].first['lang']
|
93
93
|
else
|
94
94
|
raise "No language information found."
|