Active 0.0.41 → 0.0.42
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.
- data/lib/services/active_works.rb +11 -11
- data/version.txt +1 -1
- metadata +2 -2
@@ -150,17 +150,17 @@ module Active
|
|
150
150
|
# @metadata_loaded=true
|
151
151
|
# end
|
152
152
|
|
153
|
-
|
154
|
-
#
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
153
|
+
def get_app_api
|
154
|
+
# puts "loading active works api"
|
155
|
+
begin
|
156
|
+
doc = Nokogiri::XML(open("http://apij.active.com/activeworks/event/#{@data[:id]}"))
|
157
|
+
@data.merge! Hash.from_xml doc.to_s
|
158
|
+
@api_data_loaded=true
|
159
|
+
rescue
|
160
|
+
raise ActiveWorksError, "Couldn't find ActiveWorks activity with the id of #{id}"
|
161
|
+
return
|
162
|
+
end
|
163
|
+
end
|
164
164
|
|
165
165
|
end # end ats
|
166
166
|
end
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.42
|