class Cb::Models::Resumes::SalaryInformation

Attributes

annual_bonus[RW]
annual_commission[RW]
currency_code[RW]
most_recent_pay_amount[RW]
per_hour_or_per_year[RW]
work_experience_id[RW]

Public Instance Methods

required_fields() click to toggle source
# File lib/cb/models/implementations/resumes/salary_information.rb, line 27
def required_fields
  %w(PerHourOrPerYear mostRecentPayAmount)
end
set_model_properties() click to toggle source
# 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

Private Instance Methods

get_api_response(api_key) click to toggle source
# File lib/cb/models/implementations/resumes/salary_information.rb, line 33
def get_api_response(api_key)
  api_response[api_key]
end