checkdin 0.3.1 → 0.3.2
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/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