checkdin 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/checkdin/users.rb +3 -3
- data/lib/checkdin/version.rb +1 -1
- metadata +1 -1
data/lib/checkdin/users.rb
CHANGED
@@ -24,10 +24,10 @@ module Checkdin
|
|
24
24
|
|
25
25
|
# Lookup the checkd.in ID of a user based on their whitelabel ID.
|
26
26
|
#
|
27
|
-
# params [
|
27
|
+
# params [String] user_identifier The whitelabel identifier of the user (passed to checkd.in during creation)
|
28
28
|
|
29
|
-
def whitelabel_user_lookup(
|
30
|
-
response = connection.get("users/whitelabel
|
29
|
+
def whitelabel_user_lookup(user_identifier)
|
30
|
+
response = connection.get("users/whitelabel.json?user_identifier=#{id}")
|
31
31
|
return_error_or_body(response)
|
32
32
|
end
|
33
33
|
|
data/lib/checkdin/version.rb
CHANGED