Class: Cb::Models::Job

Inherits:
ApiResponseModel show all
Defined in:
lib/cb/models/implementations/job.rb

Instance Attribute Summary collapse

Attributes inherited from ApiResponseModel

#api_response

Instance Method Summary collapse

Constructor Details

#initialize(args = {}) ⇒ Job

Returns a new instance of Job.



23
24
25
# File 'lib/cb/models/implementations/job.rb', line 23

def initialize(args = {})
  super(args)
end

Instance Attribute Details

#apply_requirementsObject

Returns the value of attribute apply_requirements.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def apply_requirements
  @apply_requirements
end

#apply_urlObject

Returns the value of attribute apply_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def apply_url
  @apply_url
end

#begin_dateObject

Returns the value of attribute begin_date.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def begin_date
  @begin_date
end

#bonusObject

Returns the value of attribute bonus.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def bonus
  @bonus
end

#can_be_quick_appliedObject

Returns the value of attribute can_be_quick_applied.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def can_be_quick_applied
  @can_be_quick_applied
end

#categoriesObject

Returns the value of attribute categories.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def categories
  @categories
end

#category_codesObject

Returns the value of attribute category_codes.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def category_codes
  @category_codes
end

#cityObject

Returns the value of attribute city.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def city
  @city
end

#commissionObject

Returns the value of attribute commission.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def commission
  @commission
end

#companyObject

Returns the value of attribute company.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def company
  @company
end

#company_details_urlObject

Returns the value of attribute company_details_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def company_details_url
  @company_details_url
end

#company_didObject

Returns the value of attribute company_did.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def company_did
  @company_did
end

#company_image_urlObject

Returns the value of attribute company_image_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def company_image_url
  @company_image_url
end

#company_nameObject

Returns the value of attribute company_name.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def company_name
  @company_name
end

#contact_email_urlObject

Returns the value of attribute contact_email_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def contact_email_url
  @contact_email_url
end

#contact_faxObject

Returns the value of attribute contact_fax.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def contact_fax
  @contact_fax
end

#contact_nameObject

Returns the value of attribute contact_name.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def contact_name
  @contact_name
end

#contact_phoneObject

Returns the value of attribute contact_phone.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def contact_phone
  @contact_phone
end

#degree_requiredObject

Returns the value of attribute degree_required.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def degree_required
  @degree_required
end

#degree_required_codeObject

Returns the value of attribute degree_required_code.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def degree_required_code
  @degree_required_code
end

#descriptionObject

Returns the value of attribute description.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def description
  @description
end

#description_teaserObject

Returns the value of attribute description_teaser.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def description_teaser
  @description_teaser
end

#details_urlObject

Returns the value of attribute details_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def details_url
  @details_url
end

#didObject

Returns the value of attribute did.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def did
  @did
end

#display_job_idObject

Returns the value of attribute display_job_id.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def display_job_id
  @display_job_id
end

#distanceObject

Returns the value of attribute distance.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def distance
  @distance
end

#divisonObject

Returns the value of attribute divison.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def divison
  @divison
end

#employment_typeObject

Returns the value of attribute employment_type.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def employment_type
  @employment_type
end

#employment_type_codeObject

Returns the value of attribute employment_type_code.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def employment_type_code
  @employment_type_code
end

#end_dateObject

Returns the value of attribute end_date.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def end_date
  @end_date
end

#experience_requiredObject

Returns the value of attribute experience_required.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def experience_required
  @experience_required
end

#external_application=(value) ⇒ Object (writeonly)

Sets the attribute external_application

Parameters:

  • value

    the value to set the attribute external_application to.



19
20
21
# File 'lib/cb/models/implementations/job.rb', line 19

def external_application=(value)
  @external_application = value
end

#external_apply_urlObject

Returns the value of attribute external_apply_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def external_apply_url
  @external_apply_url
end

#industryObject

Returns the value of attribute industry.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def industry
  @industry
end

#industry_codesObject

Returns the value of attribute industry_codes.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def industry_codes
  @industry_codes
end

#is_screener_apply=(value) ⇒ Object (writeonly)

Sets the attribute is_screener_apply

Parameters:

  • value

    the value to set the attribute is_screener_apply to.



19
20
21
# File 'lib/cb/models/implementations/job.rb', line 19

def is_screener_apply=(value)
  @is_screener_apply = value
end

#is_shared_job=(value) ⇒ Object (writeonly)

Sets the attribute is_shared_job

Parameters:

  • value

    the value to set the attribute is_shared_job to.



19
20
21
# File 'lib/cb/models/implementations/job.rb', line 19

def is_shared_job=(value)
  @is_shared_job = value
end

#job_brandingObject

Returns the value of attribute job_branding.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def job_branding
  @job_branding
end

#job_skinObject

Returns the value of attribute job_skin.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def job_skin
  @job_skin
end

#job_skin_didObject

Returns the value of attribute job_skin_did.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def job_skin_did
  @job_skin_did
end

#job_tracking_urlObject

Returns the value of attribute job_tracking_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def job_tracking_url
  @job_tracking_url
end

#latitudeObject

Returns the value of attribute latitude.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def latitude
  @latitude
end

#locationObject

Returns the value of attribute location.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def location
  @location
end

#location_formattedObject

Returns the value of attribute location_formatted.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def location_formatted
  @location_formatted
end

#location_street_1Object

Returns the value of attribute location_street_1.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def location_street_1
  @location_street_1
end

#location_street_2Object

Returns the value of attribute location_street_2.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def location_street_2
  @location_street_2
end

#longitudeObject

Returns the value of attribute longitude.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def longitude
  @longitude
end

#manages_others=(value) ⇒ Object (writeonly)

Sets the attribute manages_others

Parameters:

  • value

    the value to set the attribute manages_others to.



19
20
21
# File 'lib/cb/models/implementations/job.rb', line 19

def manages_others=(value)
  @manages_others = value
end

#manages_others_codeObject

Returns the value of attribute manages_others_code.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def manages_others_code
  @manages_others_code
end

#manages_others_stringObject

Returns the value of attribute manages_others_string.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def manages_others_string
  @manages_others_string
end

#payObject

Returns the value of attribute pay.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def pay
  @pay
end

#pay_otherObject

Returns the value of attribute pay_other.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def pay_other
  @pay_other
end

#pay_perObject

Returns the value of attribute pay_per.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def pay_per
  @pay_per
end

#posted_dateObject

Returns the value of attribute posted_date.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def posted_date
  @posted_date
end

#relevancyObject

Returns the value of attribute relevancy.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def relevancy
  @relevancy
end

#relocation_covered=(value) ⇒ Object (writeonly)

Sets the attribute relocation_covered

Parameters:

  • value

    the value to set the attribute relocation_covered to.



19
20
21
# File 'lib/cb/models/implementations/job.rb', line 19

def relocation_covered=(value)
  @relocation_covered = value
end

#relocation_optionsObject

Returns the value of attribute relocation_options.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def relocation_options
  @relocation_options
end

#requirementsObject

Returns the value of attribute requirements.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def requirements
  @requirements
end

#service_urlObject

Returns the value of attribute service_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def service_url
  @service_url
end

#similar_jobs_urlObject

Returns the value of attribute similar_jobs_url.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def similar_jobs_url
  @similar_jobs_url
end

#stateObject

Returns the value of attribute state.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def state
  @state
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def title
  @title
end

#travel_requiredObject

Returns the value of attribute travel_required.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def travel_required
  @travel_required
end

#travel_required_codeObject

Returns the value of attribute travel_required_code.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def travel_required_code
  @travel_required_code
end

#zipObject

Returns the value of attribute zip.



4
5
6
# File 'lib/cb/models/implementations/job.rb', line 4

def zip
  @zip
end

Instance Method Details

#can_be_quick_applied?Boolean

Returns:

  • (Boolean)


52
53
54
# File 'lib/cb/models/implementations/job.rb', line 52

def can_be_quick_applied?
  @can_be_quick_applied.downcase == 'true'
end

#external_application?Boolean

Returns:

  • (Boolean)


32
33
34
# File 'lib/cb/models/implementations/job.rb', line 32

def external_application?
  @external_application.downcase == 'true'
end

#find_companyObject



28
29
30
# File 'lib/cb/models/implementations/job.rb', line 28

def find_company
  @company ||= Cb::CompanyApi.find_for self
end

#has_questionnaire?Boolean

Returns:

  • (Boolean)


56
57
58
# File 'lib/cb/models/implementations/job.rb', line 56

def has_questionnaire?
  @has_questionnaire.downcase == 'true'
end

#manages_others?Boolean

Returns:

  • (Boolean)


40
41
42
# File 'lib/cb/models/implementations/job.rb', line 40

def manages_others?
  @manages_others.downcase == 'true'
end

#relocation_covered?Boolean

Returns:

  • (Boolean)


36
37
38
# File 'lib/cb/models/implementations/job.rb', line 36

def relocation_covered?
  @relocation_covered.downcase == 'true'
end

#screener_apply?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/cb/models/implementations/job.rb', line 44

def screener_apply?
  @is_screener_apply.downcase == 'true'
end

#shared_job?Boolean

Returns:

  • (Boolean)


48
49
50
# File 'lib/cb/models/implementations/job.rb', line 48

def shared_job?
  @is_shared_job.downcase == 'true'
end