Module: HawatelSearchJobs

Defined in:
lib/hawatel_search_jobs.rb,
lib/hawatel_search_jobs/api.rb,
lib/hawatel_search_jobs/client.rb,
lib/hawatel_search_jobs/version.rb,
lib/hawatel_search_jobs/api/reed.rb,
lib/hawatel_search_jobs/api/indeed.rb,
lib/hawatel_search_jobs/helpers/base.rb,
lib/hawatel_search_jobs/api/careerjet.rb,
lib/hawatel_search_jobs/api/careerbuilder.rb

Overview

Hawatel Search Jobs

More details how to use it was described here Client

Defined Under Namespace

Modules: Api, Helpers Classes: Client

Constant Summary collapse

VERSION =
"0.3.0"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.careerbuilderObject

Returns the value of attribute careerbuilder.



10
11
12
# File 'lib/hawatel_search_jobs.rb', line 10

def careerbuilder
  @careerbuilder
end

.careerjetObject

Returns the value of attribute careerjet.



10
11
12
# File 'lib/hawatel_search_jobs.rb', line 10

def careerjet
  @careerjet
end

.indeedObject

Returns the value of attribute indeed.



10
11
12
# File 'lib/hawatel_search_jobs.rb', line 10

def indeed
  @indeed
end

.reedObject

Returns the value of attribute reed.



10
11
12
# File 'lib/hawatel_search_jobs.rb', line 10

def reed
  @reed
end

.upworkObject

Returns the value of attribute upwork.



10
11
12
# File 'lib/hawatel_search_jobs.rb', line 10

def upwork
  @upwork
end

.xingObject

Returns the value of attribute xing.



10
11
12
# File 'lib/hawatel_search_jobs.rb', line 10

def xing
  @xing
end

Class Method Details

.configure {|_self| ... } ⇒ Object

How to configure APIs go to example HawatelSearchJobs::Client#search_jobs

Yields:

  • (_self)

Yield Parameters:



14
15
16
17
18
19
20
21
22
23
# File 'lib/hawatel_search_jobs.rb', line 14

def configure
  @indeed         = default_indeed(Hash.new)
  @xing           = default_xing(Hash.new)
  @reed           = default_reed(Hash.new)
  @careerbuilder  = default_careerbuilder(Hash.new)
  @careerjet      = default_careerjet(Hash.new)
  @upwork         = default_upwork(Hash.new)
  yield self if block_given?
  true
end