module LatexCurriculumVitae::Notify

Method for notifying the user

Public Class Methods

run(job_title, data_dir) click to toggle source

@param [String] job_title The Title of your job application @param [String] data_dir Path to data dir

# File lib/latex_curriculum_vitae/notifier.rb, line 27
def self.run(job_title, data_dir)
  img = "#{data_dir}/share/icons/arbeitsagentur.png"
  Notifier.notify(
    image: img.to_s,
    title: 'Your Job Application',
    message: "Your Job Application #{job_title} was created now."
  )
end