module PaychexAPI::Client::Users
Public Instance Methods
get_user(user_id, params = {})
click to toggle source
# File lib/paychex_api/client/users.rb, line 9 def get_user(user_id, params = {}) get("#{API_PATH}#{USERS_PATH}/#{user_id}", params) end
get_user_access(user_id, params = {})
click to toggle source
# File lib/paychex_api/client/users.rb, line 4 def get_user_access(user_id, params = {}) connection.headers[:accept] = "application/json;profile='http://api.paychex.com/profiles/user_access/v1'" get("#{API_PATH}#{USERS_PATH}/#{user_id}", params) end
get_user_workers(user_id, params = {})
click to toggle source
# File lib/paychex_api/client/users.rb, line 13 def get_user_workers(user_id, params = {}) connection.headers[:accept] = "application/json;profile='http://api.paychex.com/profiles/workers/v1'" get("#{API_PATH}#{USERS_PATH}/#{user_id}#{WORKERS_PATH}", params) end