class Upwork::Api::Routers::Hr::Interviews

Interviews workflow

Constants

ENTRY_POINT

Public Class Methods

new(client) click to toggle source

Init

Arguments:

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

Public Instance Methods

invite(job_key, params) click to toggle source

Invite to Interview

Arguments:

job_key: (String)
params: (Hash)
# File lib/upwork/api/routers/hr/interviews.rb, line 36
def invite(job_key, params)
  $LOG.i "running " + __method__.to_s
  @client.post '/hr/v1/jobs/' + job_key + '/candidates', params
end