Class: Cb::Models::Resumes::SalaryInformation

Inherits:
ApiResponseModel show all
Defined in:
lib/cb/models/implementations/resumes/salary_information.rb

Instance Attribute Summary collapse

Attributes inherited from ApiResponseModel

#api_response

Instance Method Summary collapse

Methods inherited from ApiResponseModel

#initialize

Constructor Details

This class inherits a constructor from Cb::Models::ApiResponseModel

Instance Attribute Details

#annual_bonusObject

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_commissionObject

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_codeObject

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_titleObject

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_amountObject

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_yearObject

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_fieldsObject



17
18
19
# File 'lib/cb/models/implementations/resumes/salary_information.rb', line 17

def required_fields
  ['PerHourOrPerYear', 'mostRecentPayAmount']
end

#set_model_propertiesObject



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