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.
-
#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.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 5 def company_name @company_name end |
#currently_employed_here ⇒ Object
Returns the value of attribute currently_employed_here.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 5 def currently_employed_here @currently_employed_here end |
#employment_type ⇒ Object
Returns the value of attribute employment_type.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 5 def employment_type @employment_type end |
#end_date ⇒ Object
Returns the value of attribute end_date.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 5 def end_date @end_date end |
#job_title ⇒ Object
Returns the value of attribute job_title.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 5 def job_title @job_title end |
#start_date ⇒ Object
Returns the value of attribute start_date.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 5 def start_date @start_date end |
Instance Method Details
#required_fields ⇒ Object
17 18 19 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 17 def required_fields ['jobTitle', 'currentlyEmployedHere'] end |
#set_model_properties ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/cb/models/implementations/resumes/work_experience.rb', line 8 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'] end |