class Upwork::Api::Routers::Hr::Engagements
Engagements API
Constants
- ENTRY_POINT
 
Public Class Methods
          new(client)
          
          click to toggle source
          
        
        
        Init
Arguments:
client: (Client)
# File lib/upwork/api/routers/hr/engagements.rb, line 26 def initialize(client) @client = client @client.epoint = ENTRY_POINT end
Public Instance Methods
          get_list(params)
          
          click to toggle source
          
        
        
        Get list of engagements
Arguments:
params: (Hash)
# File lib/upwork/api/routers/hr/engagements.rb, line 35 def get_list(params) $LOG.i "running " + __method__.to_s @client.get '/hr/v2/engagements', params end
          get_specific(reference)
          
          click to toggle source
          
        
        
        Get specific engagement
Arguments:
reference: (String)
# File lib/upwork/api/routers/hr/engagements.rb, line 44 def get_specific(reference) $LOG.i "running " + __method__.to_s @client.get '/hr/v2/engagements/' + reference end