Class: BeerList::Establishments::BulldogNortheast

Inherits:
Establishment
  • Object
show all
Defined in:
lib/beer_list/establishments/bulldog_northeast.rb

Constant Summary collapse

URL =
'http://www.thebulldognortheast.com/beer/'

Instance Attribute Summary

Attributes included from Listable

#page

Instance Method Summary collapse

Methods inherited from Establishment

#short_class_name

Methods included from Listable

#list, #short_class_name

Instance Method Details

#get_listObject



6
7
8
9
10
# File 'lib/beer_list/establishments/bulldog_northeast.rb', line 6

def get_list
  list = page.search('p.copy_menu_item_desc').map(&:text)
  list.shift 2 # shift off Rotating Cask and Beer Flights
  list
end

#urlObject



12
13
14
# File 'lib/beer_list/establishments/bulldog_northeast.rb', line 12

def url
  URL
end