zaui_zapi 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/version.rb +1 -1
- data/lib/zaui.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50bdde3617f28e6a94bfd0d8e3674d7bca45c5e7
|
4
|
+
data.tar.gz: 55646b4d1755146775663bbd110681b49b42f3b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bc23752049600fb86e43b2b39205045b00508fec23761bea992533f511d6c4cd1d8c5abb755f242327f626cb5f9566e05154a47d2e82f3aabad4d42e7a8a2cd
|
7
|
+
data.tar.gz: 57af1d47b8b055dfd38a46bf14fcde4148b3522e87d8962d522b094b2dbdb52ac22ba29ef68e3390b27b1a7645b30c81c5403f88c6ac3931fbc1726eab5ceebc
|
data/lib/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = '0.1.
|
1
|
+
VERSION = '0.1.1'
|
data/lib/zaui.rb
CHANGED
@@ -9,11 +9,11 @@ class Zaui
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def get_activity_categories
|
12
|
-
raw = _zapi(xml.get_activity_categories)[:
|
12
|
+
raw = _zapi(xml.get_activity_categories).try(:[],'categories').try(:[],'category')
|
13
13
|
end
|
14
14
|
|
15
15
|
def get_activities_by_category_id id
|
16
|
-
raw = _zapi(xml.get_activities_by_category_id(id))[:
|
16
|
+
raw = _zapi(xml.get_activities_by_category_id(id)).try(:[],'activities').try(:[],'activity')
|
17
17
|
end
|
18
18
|
|
19
19
|
def get_package_categories
|