class Upwork::Api::Routers::Hr::Clients::Applications

Client Job Applications API

Constants

ENTRY_POINT

Public Class Methods

new(client) click to toggle source

Init

Arguments:

client: (Client)
# File lib/upwork/api/routers/hr/clients/applications.rb, line 27
def initialize(client)
  @client = client
  @client.epoint = ENTRY_POINT 
end

Public Instance Methods

get_list(params) click to toggle source

Get list of applications

Arguments:

params: (Hash)
# File lib/upwork/api/routers/hr/clients/applications.rb, line 36
def get_list(params)
  $LOG.i "running " + __method__.to_s
  @client.get '/hr/v4/clients/applications', params
end
get_specific(reference, params) click to toggle source

Get specific application

Arguments:

reference: (String)
params: (Hash)
# File lib/upwork/api/routers/hr/clients/applications.rb, line 46
def get_specific(reference, params)
  $LOG.i "running " + __method__.to_s
  @client.get '/hr/v4/clients/applications/' + reference, params
end