lib/bearcat/client/users.rb in bearcat-1.0.10 vs lib/bearcat/client/users.rb in bearcat-1.0.11
- old
+ new
@@ -16,9 +16,13 @@
def user_profile(user)
get("/api/v1/users/#{user.to_s}/profile")
end
+ def user_logins(user)
+ get("/api/v1/users/#{user.to_s}/logins")
+ end
+
# scope: food
# params: {ns: 'com.account-domain.canvas-app'}
# returns all custom user food scope data. If no scope returns all custom user data
def load_custom_data(user, params, scope = '')
get("/api/v1/users/#{user}/custom_data/#{scope}", params)