activewave 0.0.2 → 0.0.3
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.
- checksums.yaml +4 -4
- data/lib/activewave.rb +24 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 728843805e4bb051f3c73ccaf95e804963b74ee358d8ad35e187d7120bb53398
|
4
|
+
data.tar.gz: ac3ca74144568b0ed69a4622c9681faa8c8a8f3958bf252ae0fae0e94d06c401
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3c66cbffa8c240248e3fc1572b79a8b1e4bcffd741713eb5635a9bcdba444923202ddc9d06d41e55256b36960c261ecd4a1f8392398ec6a41845aec05629f6c
|
7
|
+
data.tar.gz: f0f8ae3a4667653ee8a4ef83e4a1d254f690662b1b1af6e269582e6df0c0629d6b0f9cca29efc52b6aa04cb149d19f9daa4e5e15cc1f5061551ce524c4251fd9
|
data/lib/activewave.rb
CHANGED
@@ -241,6 +241,22 @@ module ACTIVEWAVE
|
|
241
241
|
execute(LIST_USERS)
|
242
242
|
end
|
243
243
|
|
244
|
+
def self.current_user
|
245
|
+
execute(LIST_USERS)
|
246
|
+
end
|
247
|
+
|
248
|
+
def self.get_user_details
|
249
|
+
execute(LIST_USERS)
|
250
|
+
end
|
251
|
+
|
252
|
+
def self.get_current_user
|
253
|
+
execute(LIST_USERS)
|
254
|
+
end
|
255
|
+
|
256
|
+
def self.user
|
257
|
+
execute(LIST_USERS)
|
258
|
+
end
|
259
|
+
|
244
260
|
def self.list_all_products
|
245
261
|
execute(LIST_ALL_PRODUCTS_QUERY)
|
246
262
|
end
|
@@ -265,6 +281,14 @@ module ACTIVEWAVE
|
|
265
281
|
list_assets_or_liabilities("INCOME")
|
266
282
|
end
|
267
283
|
|
284
|
+
def self.list_all_income
|
285
|
+
list_assets_or_liabilities("INCOME")
|
286
|
+
end
|
287
|
+
|
288
|
+
def self.list_incomes
|
289
|
+
list_assets_or_liabilities("INCOME")
|
290
|
+
end
|
291
|
+
|
268
292
|
def self.list_all_expenses
|
269
293
|
list_assets_or_liabilities("EXPENSE")
|
270
294
|
end
|