class HolidayScraper::Scraper
Constants
- DAELLIKON_FERIENPLAN_URL
Attributes
url[R]
Public Class Methods
new(url = DAELLIKON_FERIENPLAN_URL)
click to toggle source
# File lib/holiday_scraper/scraper.rb, line 6 def initialize(url = DAELLIKON_FERIENPLAN_URL) @url = url end
Public Instance Methods
page()
click to toggle source
# File lib/holiday_scraper/scraper.rb, line 10 def page @page ||= Nokogiri::HTML(HTTParty.get(url)) end