Class: Cb::Models::Resume
- Inherits:
-
ApiResponseModel
- Object
- ApiResponseModel
- Cb::Models::Resume
- Defined in:
- lib/cb/models/implementations/resume.rb
Instance Attribute Summary collapse
-
#desired_job_title ⇒ Object
Returns the value of attribute desired_job_title.
-
#educations ⇒ Object
Returns the value of attribute educations.
-
#government_and_military ⇒ Object
Returns the value of attribute government_and_military.
-
#privacy_setting ⇒ Object
Returns the value of attribute privacy_setting.
-
#relocations ⇒ Object
Returns the value of attribute relocations.
-
#resume_hash ⇒ Object
Returns the value of attribute resume_hash.
-
#salary_information ⇒ Object
Returns the value of attribute salary_information.
-
#skills_and_qualifications ⇒ Object
Returns the value of attribute skills_and_qualifications.
-
#user_identifier ⇒ Object
Returns the value of attribute user_identifier.
-
#work_experience ⇒ Object
Returns the value of attribute work_experience.
Attributes inherited from ApiResponseModel
Instance Method Summary collapse
Methods inherited from ApiResponseModel
Constructor Details
This class inherits a constructor from Cb::Models::ApiResponseModel
Instance Attribute Details
#desired_job_title ⇒ Object
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 |
#educations ⇒ Object
Returns the value of attribute educations.
14 15 16 |
# File 'lib/cb/models/implementations/resume.rb', line 14 def educations @educations end |
#government_and_military ⇒ Object
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_setting ⇒ Object
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 |
#relocations ⇒ Object
Returns the value of attribute relocations.
14 15 16 |
# File 'lib/cb/models/implementations/resume.rb', line 14 def relocations @relocations end |
#resume_hash ⇒ Object
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_information ⇒ Object
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_qualifications ⇒ Object
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_identifier ⇒ Object
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_experience ⇒ Object
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_fields ⇒ Object
30 31 32 |
# File 'lib/cb/models/implementations/resume.rb', line 30 def required_fields ['userIdentifier'] end |
#set_model_properties ⇒ Object
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 |