aux_helper 0.0.20 → 0.0.21
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aux_helper.rb +5 -0
- data/lib/aux_helper/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0eb8bfd889346f8d73910d5ca4cbe20987d6bdb4
|
4
|
+
data.tar.gz: d7a9411face2b21247f0509c20ad2fa228cf2398
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9a22cee8301bbffc1821b15bc03d6944c95a5c51f6ddbaead0f24a579ab11f34df58eeef0347ed35e5a4ab206fc73be14c0184a7b257cf59afc9875fe73f0d28
|
7
|
+
data.tar.gz: eceab00766401774e9f99512ffe4e0f8fb0bcb4ea85a5e1c632944f95d0db8c652f4bf8d2865826bc3891426eee23bc42328e42fb52b21398ebd2079b47aa4b2
|
data/lib/aux_helper.rb
CHANGED
@@ -143,6 +143,11 @@ module AUXHelper
|
|
143
143
|
get "#{@api_server.to_s}/v0/users/#{id}"
|
144
144
|
end
|
145
145
|
|
146
|
+
def get_whitelisted_users(account_id)
|
147
|
+
return if are_invalid_mongo_key account_id
|
148
|
+
get "#{@api_server.to_s}/v0/users/whitelist/#{account_id}"
|
149
|
+
end
|
150
|
+
|
146
151
|
# add email address to signup list
|
147
152
|
# returns true if successful
|
148
153
|
def signup_email(email_address)
|
data/lib/aux_helper/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aux_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.21
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- thor-aux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-07-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|