Class: Cb::Models::Resume

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

Instance Attribute Summary collapse

Attributes inherited from ApiResponseModel

#api_response

Instance Method Summary collapse

Methods inherited from ApiResponseModel

#initialize

Constructor Details

This class inherits a constructor from Cb::Models::ApiResponseModel

Instance Attribute Details

#desired_job_titleObject

Returns the value of attribute desired_job_title.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def desired_job_title
  @desired_job_title
end

#educationsObject

Returns the value of attribute educations.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def educations
  @educations
end

#government_and_militaryObject

Returns the value of attribute government_and_military.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def government_and_military
  @government_and_military
end

#privacy_settingObject

Returns the value of attribute privacy_setting.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def privacy_setting
  @privacy_setting
end

#relocationsObject

Returns the value of attribute relocations.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def relocations
  @relocations
end

#resume_hashObject

Returns the value of attribute resume_hash.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def resume_hash
  @resume_hash
end

#salary_informationObject

Returns the value of attribute salary_information.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def salary_information
  @salary_information
end

#skills_and_qualificationsObject

Returns the value of attribute skills_and_qualifications.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def skills_and_qualifications
  @skills_and_qualifications
end

#user_identifierObject

Returns the value of attribute user_identifier.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def user_identifier
  @user_identifier
end

#work_experienceObject

Returns the value of attribute work_experience.



14
15
16
# File 'lib/cb/models/implementations/resume.rb', line 14

def work_experience
  @work_experience
end

Instance Method Details

#required_fieldsObject



30
31
32
# File 'lib/cb/models/implementations/resume.rb', line 30

def required_fields
  ['userIdentifier']
end

#set_model_propertiesObject



17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/cb/models/implementations/resume.rb', line 17

def set_model_properties
  @desired_job_title = api_response['desiredJobTitle']
  @user_identifier = api_response['userIdentifier']
  @resume_hash = api_response['resumeHash']
  @privacy_setting = api_response['privacySetting']
  @work_experience = extract_work_experience
  @salary_information = extract_salary_information
  @educations = extract_educations
  @skills_and_qualifications = extract_skills_and_qualifications
  @relocations = extract_relocations
  @government_and_military = extract_government_and_military
end