lib/bearcat/client/users.rb in bearcat-1.0.16 vs lib/bearcat/client/users.rb in bearcat-1.0.17
- old
+ new
@@ -20,9 +20,13 @@
def user_logins(user)
get("/api/v1/users/#{user.to_s}/logins")
end
+ def communication_channels(user)
+ get("/api/v1/users/#{user.to_s}/communication_channels")
+ 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)