Class: Cb::Models::Resumes::WorkExperience
- Inherits:
-
ApiResponseModel
- Object
- ApiResponseModel
- Cb::Models::Resumes::WorkExperience
- Defined in:
- lib/cb/models/implementations/resumes/work_experience.rb
Instance Attribute Summary collapse
-
#company_name ⇒ Object
Returns the value of attribute company_name.
-
#currently_employed_here ⇒ Object
Returns the value of attribute currently_employed_here.
-
#employment_type ⇒ Object
Returns the value of attribute employment_type.
-
#end_date ⇒ Object
Returns the value of attribute end_date.
-
#id ⇒ Object
Returns the value of attribute id.
-
#job_title ⇒ Object
Returns the value of attribute job_title.
-
#start_date ⇒ Object
Returns the value of attribute start_date.
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
#company_name ⇒ Object
Returns the value of attribute company_name.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 15 def company_name @company_name end |
#currently_employed_here ⇒ Object
Returns the value of attribute currently_employed_here.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 15 def currently_employed_here @currently_employed_here end |
#employment_type ⇒ Object
Returns the value of attribute employment_type.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 15 def employment_type @employment_type end |
#end_date ⇒ Object
Returns the value of attribute end_date.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 15 def end_date @end_date end |
#id ⇒ Object
Returns the value of attribute id.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 15 def id @id end |
#job_title ⇒ Object
Returns the value of attribute job_title.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 15 def job_title @job_title end |
#start_date ⇒ Object
Returns the value of attribute start_date.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 15 def start_date @start_date end |
Instance Method Details
#required_fields ⇒ Object
28 29 30 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 28 def required_fields %w(jobTitle currentlyEmployedHere) end |
#set_model_properties ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 18 def set_model_properties @job_title = api_response['jobTitle'] @company_name = api_response['companyName'] @employment_type = api_response['employmentType'] @start_date = api_response['startDate'] @end_date = api_response['endDate'] @currently_employed_here = api_response['currentlyEmployedHere'] @id = api_response['id'] end |