Class: Cb::CbSavedSearch::CbSavedSearchParameters
- Inherits:
-
Object
- Object
- Cb::CbSavedSearch::CbSavedSearchParameters
- Defined in:
- lib/cb/models/implementations/cb_saved_search.rb
Instance Attribute Summary collapse
-
#boolean_operator ⇒ Object
Returns the value of attribute boolean_operator.
-
#category ⇒ Object
Returns the value of attribute category.
-
#country ⇒ Object
Returns the value of attribute country.
-
#education_code ⇒ Object
Returns the value of attribute education_code.
-
#emp_type ⇒ Object
Returns the value of attribute emp_type.
-
#exclude_company_names ⇒ Object
Returns the value of attribute exclude_company_names.
-
#exclude_job_titles ⇒ Object
Returns the value of attribute exclude_job_titles.
-
#exclude_keywords ⇒ Object
Returns the value of attribute exclude_keywords.
-
#exclude_national ⇒ Object
Returns the value of attribute exclude_national.
-
#industry_codes ⇒ Object
Returns the value of attribute industry_codes.
-
#job_title ⇒ Object
Returns the value of attribute job_title.
-
#keywords ⇒ Object
Returns the value of attribute keywords.
-
#location ⇒ Object
Returns the value of attribute location.
-
#order_by ⇒ Object
Returns the value of attribute order_by.
-
#order_direction ⇒ Object
Returns the value of attribute order_direction.
-
#pay_high ⇒ Object
Returns the value of attribute pay_high.
-
#pay_info_only ⇒ Object
Returns the value of attribute pay_info_only.
-
#pay_low ⇒ Object
Returns the value of attribute pay_low.
-
#posted_within ⇒ Object
Returns the value of attribute posted_within.
-
#radius ⇒ Object
Returns the value of attribute radius.
-
#specific_education ⇒ Object
Returns the value of attribute specific_education.
Instance Method Summary collapse
-
#initialize(args = {}) ⇒ CbSavedSearchParameters
constructor
A new instance of CbSavedSearchParameters.
Constructor Details
#initialize(args = {}) ⇒ CbSavedSearchParameters
Returns a new instance of CbSavedSearchParameters.
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 64 def initialize(args = {}) @boolean_operator = args['BooleanOperator'] || '' @category = args['Category'] || '' @education_code = args['EducationCode'] || '' @emp_type = args['EmpType'] || '' @exclude_company_names = args['ExcludeCompanyNames'] || '' @exclude_job_titles = args['ExcludeJobTitles'] || '' @exclude_keywords = args['ExcludeKeywords'] || '' @exclude_national = args['ExcludeNational'] || false @industry_codes = args['IndustryCodes'] || '' @job_title = args['Jobtitle'] || '' @keywords = args['Keywords'] || '' @location = args['Location'] || '' @order_by = args['OrderBy'] || '' @order_direction = args['OrderDirection'] || '' @pay_high = args['PayHigh'] || 0 @pay_info_only = args['PayInfoOnly'] || false @pay_low = args['PayLow'] || 0 @posted_within = args['PostedWithin'] || 30 @radius = args['Radius'] || 30 @specific_education = args['SpecificEducation'] || false @country = args['Country'] || '' end |
Instance Attribute Details
#boolean_operator ⇒ Object
Returns the value of attribute boolean_operator.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def boolean_operator @boolean_operator end |
#category ⇒ Object
Returns the value of attribute category.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def category @category end |
#country ⇒ Object
Returns the value of attribute country.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def country @country end |
#education_code ⇒ Object
Returns the value of attribute education_code.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def education_code @education_code end |
#emp_type ⇒ Object
Returns the value of attribute emp_type.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def emp_type @emp_type end |
#exclude_company_names ⇒ Object
Returns the value of attribute exclude_company_names.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def exclude_company_names @exclude_company_names end |
#exclude_job_titles ⇒ Object
Returns the value of attribute exclude_job_titles.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def exclude_job_titles @exclude_job_titles end |
#exclude_keywords ⇒ Object
Returns the value of attribute exclude_keywords.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def exclude_keywords @exclude_keywords end |
#exclude_national ⇒ Object
Returns the value of attribute exclude_national.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def exclude_national @exclude_national end |
#industry_codes ⇒ Object
Returns the value of attribute industry_codes.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def industry_codes @industry_codes end |
#job_title ⇒ Object
Returns the value of attribute job_title.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def job_title @job_title end |
#keywords ⇒ Object
Returns the value of attribute keywords.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def keywords @keywords end |
#location ⇒ Object
Returns the value of attribute location.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def location @location end |
#order_by ⇒ Object
Returns the value of attribute order_by.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def order_by @order_by end |
#order_direction ⇒ Object
Returns the value of attribute order_direction.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def order_direction @order_direction end |
#pay_high ⇒ Object
Returns the value of attribute pay_high.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def pay_high @pay_high end |
#pay_info_only ⇒ Object
Returns the value of attribute pay_info_only.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def pay_info_only @pay_info_only end |
#pay_low ⇒ Object
Returns the value of attribute pay_low.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def pay_low @pay_low end |
#posted_within ⇒ Object
Returns the value of attribute posted_within.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def posted_within @posted_within end |
#radius ⇒ Object
Returns the value of attribute radius.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def radius @radius end |
#specific_education ⇒ Object
Returns the value of attribute specific_education.
59 60 61 |
# File 'lib/cb/models/implementations/cb_saved_search.rb', line 59 def specific_education @specific_education end |