Class: Cb::Models::Resumes::SalaryInformation
- Inherits:
-
ApiResponseModel
- Object
- ApiResponseModel
- Cb::Models::Resumes::SalaryInformation
- Defined in:
- lib/cb/models/implementations/resumes/salary_information.rb
Instance Attribute Summary collapse
-
#annual_bonus ⇒ Object
Returns the value of attribute annual_bonus.
-
#annual_commission ⇒ Object
Returns the value of attribute annual_commission.
-
#currency_code ⇒ Object
Returns the value of attribute currency_code.
-
#most_recent_pay_amount ⇒ Object
Returns the value of attribute most_recent_pay_amount.
-
#per_hour_or_per_year ⇒ Object
Returns the value of attribute per_hour_or_per_year.
-
#work_experience_id ⇒ Object
Returns the value of attribute work_experience_id.
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
#annual_bonus ⇒ Object
Returns the value of attribute annual_bonus.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 15 def annual_bonus @annual_bonus end |
#annual_commission ⇒ Object
Returns the value of attribute annual_commission.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 15 def annual_commission @annual_commission end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 15 def currency_code @currency_code end |
#most_recent_pay_amount ⇒ Object
Returns the value of attribute most_recent_pay_amount.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 15 def most_recent_pay_amount @most_recent_pay_amount end |
#per_hour_or_per_year ⇒ Object
Returns the value of attribute per_hour_or_per_year.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 15 def per_hour_or_per_year @per_hour_or_per_year end |
#work_experience_id ⇒ Object
Returns the value of attribute work_experience_id.
15 16 17 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 15 def work_experience_id @work_experience_id end |
Instance Method Details
#required_fields ⇒ Object
27 28 29 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 27 def required_fields %w(PerHourOrPerYear mostRecentPayAmount) end |
#set_model_properties ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 18 def set_model_properties @most_recent_pay_amount = get_api_response 'mostRecentPayAmount' @per_hour_or_per_year = get_api_response 'PerHourOrPerYear' @currency_code = get_api_response 'CurrencyCode' @annual_bonus = get_api_response 'annualBonus' @annual_commission = get_api_response 'annualCommission' @work_experience_id = get_api_response 'workExperienceId' end |