Skip to content

Instantly share code, notes, and snippets.

View dbertie's full-sized avatar

Albert Taruc dbertie

  • Condodocs, LLC
  • San Francisco
View GitHub Profile
@dbertie
dbertie / urbanspoon_reservations.rb
Last active December 20, 2015 13:09 — forked from diogomonica/urbanspoon_reservations.rb
Added some logging, exit conditions, and fixed display time.
require 'rubygems'
require 'mechanize'
FIRST_NAME = 'Albert'
LAST_NAME = 'Taruc'
PHONE = '555-555-5555'
EMAIL = '[email protected]'
PARTY_SIZE = 2
SCHEDULE_RANGE = { :start_time => '19:00', :end_time => '20:30' }