checkdin 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 [Integer] id The whitelabel identifier of the user (passed to checkd.in during creation)
27
+ # params [String] user_identifier The whitelabel identifier of the user (passed to checkd.in during creation)
28
28
 
29
- def whitelabel_user_lookup(id)
30
- response = connection.get("users/whitelabel/#{id}")
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
 
@@ -1,3 +1,3 @@
1
1
  module Checkdin
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checkdin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: