Class: XingApi::Job

Inherits:
Base
  • Object
show all
Defined in:
lib/xing_api/job.rb

Class Method Summary collapse

Methods inherited from Base

request, request_with_body

Class Method Details

.find(job_id, options = {}) ⇒ Object



3
4
5
# File 'lib/xing_api/job.rb', line 3

def self.find(job_id, options = {})
  request(:get, "/v1/jobs/#{job_id}", options)
end

.recommendations(options = {}) ⇒ Object



11
12
13
# File 'lib/xing_api/job.rb', line 11

def self.recommendations(options = {})
  request(:get, '/v1/users/me/jobs/recommendations', options)
end

.search(query, options = {}) ⇒ Object



7
8
9
# File 'lib/xing_api/job.rb', line 7

def self.search(query, options = {})
  request(:get, '/v1/jobs/find', { query: query }.merge(options))
end