class JobsCrawler::Robots::PagesJaunesSenegal
Public Instance Methods
to_json()
click to toggle source
# File lib/jobs_crawler/robots/pages_jaunes_senegal.rb, line 3 def to_json { date_de_publication: date_de_publication, description: description, } end
Private Instance Methods
date_de_publication()
click to toggle source
# File lib/jobs_crawler/robots/pages_jaunes_senegal.rb, line 12 def date_de_publication I18n.l Date.today, format: :long end
description()
click to toggle source
# File lib/jobs_crawler/robots/pages_jaunes_senegal.rb, line 16 def description extract_content('#contenu > div:nth-child(1) > table') end