Class: Cb::Models::Job
- Inherits:
-
ApiResponseModel
- Object
- ApiResponseModel
- Cb::Models::Job
- Defined in:
- lib/cb/models/implementations/job.rb
Instance Attribute Summary collapse
-
#apply_requirements ⇒ Object
Returns the value of attribute apply_requirements.
-
#apply_url ⇒ Object
Returns the value of attribute apply_url.
-
#begin_date ⇒ Object
Returns the value of attribute begin_date.
-
#begin_date_time ⇒ Object
Returns the value of attribute begin_date_time.
-
#bonus ⇒ Object
Returns the value of attribute bonus.
-
#can_be_quick_applied ⇒ Object
Returns the value of attribute can_be_quick_applied.
-
#categories ⇒ Object
Returns the value of attribute categories.
-
#category_codes ⇒ Object
Returns the value of attribute category_codes.
-
#city ⇒ Object
Returns the value of attribute city.
-
#commission ⇒ Object
Returns the value of attribute commission.
-
#company ⇒ Object
Returns the value of attribute company.
-
#company_details_url ⇒ Object
Returns the value of attribute company_details_url.
-
#company_did ⇒ Object
Returns the value of attribute company_did.
-
#company_image_url ⇒ Object
Returns the value of attribute company_image_url.
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#contact_email_url ⇒ Object
Returns the value of attribute contact_email_url.
-
#contact_fax ⇒ Object
Returns the value of attribute contact_fax.
-
#contact_name ⇒ Object
Returns the value of attribute contact_name.
-
#contact_phone ⇒ Object
Returns the value of attribute contact_phone.
-
#degree_required ⇒ Object
Returns the value of attribute degree_required.
-
#degree_required_code ⇒ Object
Returns the value of attribute degree_required_code.
-
#description ⇒ Object
Returns the value of attribute description.
-
#description_teaser ⇒ Object
Returns the value of attribute description_teaser.
-
#details_url ⇒ Object
Returns the value of attribute details_url.
-
#did ⇒ Object
Returns the value of attribute did.
-
#display_job_id ⇒ Object
Returns the value of attribute display_job_id.
-
#distance ⇒ Object
Returns the value of attribute distance.
-
#divison ⇒ Object
Returns the value of attribute divison.
-
#employment_type ⇒ Object
Returns the value of attribute employment_type.
-
#employment_type_code ⇒ Object
Returns the value of attribute employment_type_code.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#end_date_time ⇒ Object
Returns the value of attribute end_date_time.
-
#experience_required ⇒ Object
Returns the value of attribute experience_required.
-
#experience_required_code ⇒ Object
Returns the value of attribute experience_required_code.
-
#external_application ⇒ Object
writeonly
Sets the attribute external_application.
-
#external_apply_url ⇒ Object
Returns the value of attribute external_apply_url.
-
#industry ⇒ Object
Returns the value of attribute industry.
-
#industry_codes ⇒ Object
Returns the value of attribute industry_codes.
-
#is_screener_apply ⇒ Object
writeonly
Sets the attribute is_screener_apply.
-
#is_shared_job ⇒ Object
writeonly
Sets the attribute is_shared_job.
-
#jc_custom_fields ⇒ Object
Returns the value of attribute jc_custom_fields.
-
#job_branding ⇒ Object
Returns the value of attribute job_branding.
-
#job_skin ⇒ Object
Returns the value of attribute job_skin.
-
#job_skin_did ⇒ Object
Returns the value of attribute job_skin_did.
-
#job_tracking_url ⇒ Object
Returns the value of attribute job_tracking_url.
-
#latitude ⇒ Object
Returns the value of attribute latitude.
-
#location ⇒ Object
Returns the value of attribute location.
-
#location_formatted ⇒ Object
Returns the value of attribute location_formatted.
-
#location_metro_city ⇒ Object
Returns the value of attribute location_metro_city.
-
#location_street_1 ⇒ Object
Returns the value of attribute location_street_1.
-
#location_street_2 ⇒ Object
Returns the value of attribute location_street_2.
-
#longitude ⇒ Object
Returns the value of attribute longitude.
-
#manages_others ⇒ Object
writeonly
Sets the attribute manages_others.
-
#manages_others_code ⇒ Object
Returns the value of attribute manages_others_code.
-
#manages_others_string ⇒ Object
Returns the value of attribute manages_others_string.
-
#pay ⇒ Object
Returns the value of attribute pay.
-
#pay_other ⇒ Object
Returns the value of attribute pay_other.
-
#pay_per ⇒ Object
Returns the value of attribute pay_per.
-
#posted_date ⇒ Object
Returns the value of attribute posted_date.
-
#posted_time ⇒ Object
Returns the value of attribute posted_time.
-
#posting_date ⇒ Object
Returns the value of attribute posting_date.
-
#relevancy ⇒ Object
Returns the value of attribute relevancy.
-
#relocation_covered ⇒ Object
writeonly
Sets the attribute relocation_covered.
-
#relocation_options ⇒ Object
Returns the value of attribute relocation_options.
-
#requirements ⇒ Object
Returns the value of attribute requirements.
-
#service_url ⇒ Object
Returns the value of attribute service_url.
-
#similar_jobs_url ⇒ Object
Returns the value of attribute similar_jobs_url.
-
#state ⇒ Object
Returns the value of attribute state.
-
#title ⇒ Object
Returns the value of attribute title.
-
#travel_required ⇒ Object
Returns the value of attribute travel_required.
-
#travel_required_code ⇒ Object
Returns the value of attribute travel_required_code.
-
#zip ⇒ Object
Returns the value of attribute zip.
Attributes inherited from ApiResponseModel
Instance Method Summary collapse
- #can_be_quick_applied? ⇒ Boolean
- #external_application? ⇒ Boolean
- #find_company ⇒ Object
- #has_questionnaire? ⇒ Boolean
-
#initialize(args = {}) ⇒ Job
constructor
A new instance of Job.
- #manages_others? ⇒ Boolean
- #relocation_covered? ⇒ Boolean
- #screener_apply? ⇒ Boolean
- #shared_job? ⇒ Boolean
Constructor Details
#initialize(args = {}) ⇒ Job
Returns a new instance of Job.
35 36 37 |
# File 'lib/cb/models/implementations/job.rb', line 35 def initialize(args = {}) super(args) end |
Instance Attribute Details
#apply_requirements ⇒ Object
Returns the value of attribute apply_requirements.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def apply_requirements @apply_requirements end |
#apply_url ⇒ Object
Returns the value of attribute apply_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def apply_url @apply_url end |
#begin_date ⇒ Object
Returns the value of attribute begin_date.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def begin_date @begin_date end |
#begin_date_time ⇒ Object
Returns the value of attribute begin_date_time.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def begin_date_time @begin_date_time end |
#bonus ⇒ Object
Returns the value of attribute bonus.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def bonus @bonus end |
#can_be_quick_applied ⇒ Object
Returns the value of attribute can_be_quick_applied.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def can_be_quick_applied @can_be_quick_applied end |
#categories ⇒ Object
Returns the value of attribute categories.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def categories @categories end |
#category_codes ⇒ Object
Returns the value of attribute category_codes.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def category_codes @category_codes end |
#city ⇒ Object
Returns the value of attribute city.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def city @city end |
#commission ⇒ Object
Returns the value of attribute commission.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def commission @commission end |
#company ⇒ Object
Returns the value of attribute company.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def company @company end |
#company_details_url ⇒ Object
Returns the value of attribute company_details_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def company_details_url @company_details_url end |
#company_did ⇒ Object
Returns the value of attribute company_did.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def company_did @company_did end |
#company_image_url ⇒ Object
Returns the value of attribute company_image_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def company_image_url @company_image_url end |
#company_name ⇒ Object
Returns the value of attribute company_name.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def company_name @company_name end |
#contact_email_url ⇒ Object
Returns the value of attribute contact_email_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def contact_email_url @contact_email_url end |
#contact_fax ⇒ Object
Returns the value of attribute contact_fax.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def contact_fax @contact_fax end |
#contact_name ⇒ Object
Returns the value of attribute contact_name.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def contact_name @contact_name end |
#contact_phone ⇒ Object
Returns the value of attribute contact_phone.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def contact_phone @contact_phone end |
#degree_required ⇒ Object
Returns the value of attribute degree_required.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def degree_required @degree_required end |
#degree_required_code ⇒ Object
Returns the value of attribute degree_required_code.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def degree_required_code @degree_required_code end |
#description ⇒ Object
Returns the value of attribute description.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def description @description end |
#description_teaser ⇒ Object
Returns the value of attribute description_teaser.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def @description_teaser end |
#details_url ⇒ Object
Returns the value of attribute details_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def details_url @details_url end |
#did ⇒ Object
Returns the value of attribute did.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def did @did end |
#display_job_id ⇒ Object
Returns the value of attribute display_job_id.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def display_job_id @display_job_id end |
#distance ⇒ Object
Returns the value of attribute distance.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def distance @distance end |
#divison ⇒ Object
Returns the value of attribute divison.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def divison @divison end |
#employment_type ⇒ Object
Returns the value of attribute employment_type.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def employment_type @employment_type end |
#employment_type_code ⇒ Object
Returns the value of attribute employment_type_code.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def employment_type_code @employment_type_code end |
#end_date ⇒ Object
Returns the value of attribute end_date.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def end_date @end_date end |
#end_date_time ⇒ Object
Returns the value of attribute end_date_time.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def end_date_time @end_date_time end |
#experience_required ⇒ Object
Returns the value of attribute experience_required.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def experience_required @experience_required end |
#experience_required_code ⇒ Object
Returns the value of attribute experience_required_code.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def experience_required_code @experience_required_code end |
#external_application=(value) ⇒ Object (writeonly)
Sets the attribute external_application
31 32 33 |
# File 'lib/cb/models/implementations/job.rb', line 31 def external_application=(value) @external_application = value end |
#external_apply_url ⇒ Object
Returns the value of attribute external_apply_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def external_apply_url @external_apply_url end |
#industry ⇒ Object
Returns the value of attribute industry.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def industry @industry end |
#industry_codes ⇒ Object
Returns the value of attribute industry_codes.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def industry_codes @industry_codes end |
#is_screener_apply=(value) ⇒ Object (writeonly)
Sets the attribute is_screener_apply
31 32 33 |
# File 'lib/cb/models/implementations/job.rb', line 31 def is_screener_apply=(value) @is_screener_apply = value end |
#is_shared_job=(value) ⇒ Object (writeonly)
Sets the attribute is_shared_job
31 32 33 |
# File 'lib/cb/models/implementations/job.rb', line 31 def is_shared_job=(value) @is_shared_job = value end |
#jc_custom_fields ⇒ Object
Returns the value of attribute jc_custom_fields.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def jc_custom_fields @jc_custom_fields end |
#job_branding ⇒ Object
Returns the value of attribute job_branding.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def job_branding @job_branding end |
#job_skin ⇒ Object
Returns the value of attribute job_skin.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def job_skin @job_skin end |
#job_skin_did ⇒ Object
Returns the value of attribute job_skin_did.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def job_skin_did @job_skin_did end |
#job_tracking_url ⇒ Object
Returns the value of attribute job_tracking_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def job_tracking_url @job_tracking_url end |
#latitude ⇒ Object
Returns the value of attribute latitude.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def latitude @latitude end |
#location ⇒ Object
Returns the value of attribute location.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def location @location end |
#location_formatted ⇒ Object
Returns the value of attribute location_formatted.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def location_formatted @location_formatted end |
#location_metro_city ⇒ Object
Returns the value of attribute location_metro_city.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def location_metro_city @location_metro_city end |
#location_street_1 ⇒ Object
Returns the value of attribute location_street_1.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def location_street_1 @location_street_1 end |
#location_street_2 ⇒ Object
Returns the value of attribute location_street_2.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def location_street_2 @location_street_2 end |
#longitude ⇒ Object
Returns the value of attribute longitude.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def longitude @longitude end |
#manages_others=(value) ⇒ Object (writeonly)
Sets the attribute manages_others
31 32 33 |
# File 'lib/cb/models/implementations/job.rb', line 31 def manages_others=(value) @manages_others = value end |
#manages_others_code ⇒ Object
Returns the value of attribute manages_others_code.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def manages_others_code @manages_others_code end |
#manages_others_string ⇒ Object
Returns the value of attribute manages_others_string.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def manages_others_string @manages_others_string end |
#pay ⇒ Object
Returns the value of attribute pay.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def pay @pay end |
#pay_other ⇒ Object
Returns the value of attribute pay_other.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def pay_other @pay_other end |
#pay_per ⇒ Object
Returns the value of attribute pay_per.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def pay_per @pay_per end |
#posted_date ⇒ Object
Returns the value of attribute posted_date.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def posted_date @posted_date end |
#posted_time ⇒ Object
Returns the value of attribute posted_time.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def posted_time @posted_time end |
#posting_date ⇒ Object
Returns the value of attribute posting_date.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def posting_date @posting_date end |
#relevancy ⇒ Object
Returns the value of attribute relevancy.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def relevancy @relevancy end |
#relocation_covered=(value) ⇒ Object (writeonly)
Sets the attribute relocation_covered
31 32 33 |
# File 'lib/cb/models/implementations/job.rb', line 31 def relocation_covered=(value) @relocation_covered = value end |
#relocation_options ⇒ Object
Returns the value of attribute relocation_options.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def @relocation_options end |
#requirements ⇒ Object
Returns the value of attribute requirements.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def requirements @requirements end |
#service_url ⇒ Object
Returns the value of attribute service_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def service_url @service_url end |
#similar_jobs_url ⇒ Object
Returns the value of attribute similar_jobs_url.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def similar_jobs_url @similar_jobs_url end |
#state ⇒ Object
Returns the value of attribute state.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def state @state end |
#title ⇒ Object
Returns the value of attribute title.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def title @title end |
#travel_required ⇒ Object
Returns the value of attribute travel_required.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def travel_required @travel_required end |
#travel_required_code ⇒ Object
Returns the value of attribute travel_required_code.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def travel_required_code @travel_required_code end |
#zip ⇒ Object
Returns the value of attribute zip.
14 15 16 |
# File 'lib/cb/models/implementations/job.rb', line 14 def zip @zip end |
Instance Method Details
#can_be_quick_applied? ⇒ Boolean
63 64 65 |
# File 'lib/cb/models/implementations/job.rb', line 63 def can_be_quick_applied? @can_be_quick_applied.downcase == 'true' end |
#external_application? ⇒ Boolean
43 44 45 |
# File 'lib/cb/models/implementations/job.rb', line 43 def external_application? @external_application.downcase == 'true' end |
#find_company ⇒ Object
39 40 41 |
# File 'lib/cb/models/implementations/job.rb', line 39 def find_company @company ||= Cb::CompanyApi.find_for self end |
#has_questionnaire? ⇒ Boolean
67 68 69 |
# File 'lib/cb/models/implementations/job.rb', line 67 def has_questionnaire? @has_questionnaire.downcase == 'true' end |
#manages_others? ⇒ Boolean
51 52 53 |
# File 'lib/cb/models/implementations/job.rb', line 51 def manages_others? @manages_others.downcase == 'true' end |
#relocation_covered? ⇒ Boolean
47 48 49 |
# File 'lib/cb/models/implementations/job.rb', line 47 def relocation_covered? @relocation_covered.downcase == 'true' end |
#screener_apply? ⇒ Boolean
55 56 57 |
# File 'lib/cb/models/implementations/job.rb', line 55 def screener_apply? @is_screener_apply.downcase == 'true' end |
#shared_job? ⇒ Boolean
59 60 61 |
# File 'lib/cb/models/implementations/job.rb', line 59 def shared_job? @is_shared_job.downcase == 'true' end |