class Upwork::Api::Routers::Organization::Users
Users inside Organization
Constants
- ENTRY_POINT
Public Class Methods
new(client)
click to toggle source
Init
Arguments:
client: (Client)
# File lib/upwork/api/routers/organization/users.rb, line 26 def initialize(client) @client = client @client.epoint = ENTRY_POINT end
Public Instance Methods
get_my_info()
click to toggle source
Get Auth User Info
# File lib/upwork/api/routers/organization/users.rb, line 32 def get_my_info $LOG.i "running " + __method__.to_s @client.get '/hr/v2/users/me' end
get_specific(user_reference)
click to toggle source
Get Specific User Info
Arguments:
user_reference: (String)
# File lib/upwork/api/routers/organization/users.rb, line 41 def get_specific(user_reference) $LOG.i "running " + __method__.to_s @client.get '/hr/v2/users/' + user_reference end