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.
-
#job_title ⇒ Object
Returns the value of attribute job_title.
-
#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.
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.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 5 def annual_bonus @annual_bonus end |
#annual_commission ⇒ Object
Returns the value of attribute annual_commission.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 5 def annual_commission @annual_commission end |
#currency_code ⇒ Object
Returns the value of attribute currency_code.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 5 def currency_code @currency_code end |
#job_title ⇒ Object
Returns the value of attribute job_title.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 5 def job_title @job_title end |
#most_recent_pay_amount ⇒ Object
Returns the value of attribute most_recent_pay_amount.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 5 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.
5 6 7 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 5 def per_hour_or_per_year @per_hour_or_per_year end |
Instance Method Details
#required_fields ⇒ Object
17 18 19 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 17 def required_fields ['PerHourOrPerYear', 'mostRecentPayAmount'] end |
#set_model_properties ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 8 def set_model_properties @most_recent_pay_amount = api_response['mostRecentPayAmount'] @per_hour_or_per_year = api_response['PerHourOrPerYear'] @currency_code = api_response['CurrencyCode'] @job_title = api_response['jobTitle'] @annual_bonus = api_response['annualBonus'] @annual_commission = api_response['annualCommission'] end |