lib/bearcat/client/users.rb in bearcat-0.9.6 vs lib/bearcat/client/users.rb in bearcat-0.9.7

- old
+ new

@@ -12,9 +12,13 @@ def add_user(account, params={}) post("/api/v1/accounts/#{account.to_s}/users", params) end + def user_profile(user) + get("/api/v1/users/#{user.to_s}/profile") + 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)