Sha256: a353b9d14f2830544f20aa24d490e486023cf328ba1ce5084bbf0eb38b1f8ddc
Contents?: true
Size: 803 Bytes
Versions: 4
Compression:
Stored size: 803 Bytes
Contents
module CareerBuilder class Resume < BasicObject attr_reader :client def initialize(client, partial_resume) @partial_resume = partial_resume @client = client end def real_contact_email full_resume.contact_email end def home_location full_resume.home_location end private def method_missing(meth, *args, &block) if partial_resume.respond_to?(meth) partial_resume.send(meth, *args, &block) else if full_resume.respond_to?(meth) full_resume.send(meth, *args, &block) else super end end end def partial_resume @partial_resume end def full_resume @full_resume ||= client.get_resume(:resume_id => @partial_resume.id) end end end
Version data entries
4 entries across 4 versions & 1 rubygems