adobe_connect_api 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -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."
|