Sha256: d37e686d79c6e10645d9a30baf030199dbedc25ae6e2f673a273bc0720336b44

Contents?: true

Size: 1.55 KB

Versions: 2

Compression:

Stored size: 1.55 KB

Contents

module CareerBuilder

  module Requests

    class AdvancedResumeSearch < Request::Authenticated

      # List of valid options available at:
      # http://ws.careerbuilder.com/resumes/resumes.asmx/V2_AdvancedResumeSearch_ValidFields
      #
      VALID_OPTIONS = [:keywords, :search_pattern, :job_categories,
                       :city, :state, :zip_code, :country,
                       :search_radius_in_miles, :relocation_filter,
                       :freshness_in_days, :employment_type,
                       :minimum_experience,
                       :minimum_travel_requirement, :minimum_degree,
                       :compensation_type, :minimum_salary,
                       :maximum_salary,
                       :exclude_resumes_with_no_salary,
                       :languages_spoken, :currently_employed,
                       :management_experience,
                       :minimum_employees_managed, :maximum_commute,
                       :security_clearance, :work_status,
                       :exclude_ivr_resumes, :order_by, :page_number,
                       :rows_per_page, :cust_acct_code, :custom_xml,
                       :military_experience, :niche_inclusion,
                       :lemmatize, :job_title, :company, :school,
                       :rsadid, :cb_minimum_experience,
                       :cb_maximum_experience].freeze

      def perform
        super
        response = perform_request("V2_AdvancedResumeSearch", transform_options_to_xml(options))

        API::ResumeSearch.parse(response)
      end

    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
career_builder-0.1.1 lib/career_builder/requests/advanced_resume_search.rb
career_builder-0.1.0 lib/career_builder/requests/advanced_resume_search.rb