Module: SJCBusSchedule

Defined in:
lib/sjc_bus_schedule.rb,
lib/sjc_bus_schedule/version.rb

Defined Under Namespace

Modules: Parser Classes: Bus, Crawler, Schedule

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.allObject



11
12
13
# File 'lib/sjc_bus_schedule.rb', line 11

def self.all
  Crawler.new.process
end

.find_by(query) ⇒ Object



7
8
9
# File 'lib/sjc_bus_schedule.rb', line 7

def self.find_by(query)
  Crawler.new(query: query).process
end