class Spear::Structure::Resume::Retrieve
Attributes
company_experiences[RW]
educations[RW]
title[RW]
total_years_experience[RW]
Public Class Methods
new(response)
click to toggle source
Calls superclass method
Spear::Structure::Base::new
# File lib/spear/structure/resume/retrieve.rb, line 9 def initialize(response) super(response) @resume = @root['Resume'] @title = @resume['Title'] @total_years_experience = @resume['TotalYearsExperience'].to_i rescue 0 @educations = generate_educations(@resume['Educations']) rescue nil @company_experiences = generate_experiences(@resume['CompanyExperiences']) rescue nil end