module ChambaSearchMx

ChambaSearchMx module allows you to search jobs and get back a ruby object with useful information about the position openenings published on the web

Constants

BASE_URL

this is a secret!

DAYS

days options

LOCATIONS

available locations

SALARIES

available salary ranges

VERSION

Public Class Methods

find(opts = {}) click to toggle source

Public api of this module. This method takes case of parsing the opts argument into a internal api, this acts basically as a connector

# File lib/chamba_search_mx.rb, line 20
def self.find(opts = {})
  finder = opts[:finder] || ChambaSearchMx::Finder.new
  search_options = {
    location: opts[:location],
    salary: opts[:salary],
    days: opts[:days]
  }
  finder.find(opts[:search], search_options).jobs
end