Class: BeerList::Establishments::BulldogLowertown

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

Constant Summary collapse

URL =
'http://www.thebulldoglowertown.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
# File 'lib/beer_list/establishments/bulldog_lowertown.rb', line 6

def get_list
  page.search('ul.beerlist li').map(&:text)
end

#urlObject



10
11
12
# File 'lib/beer_list/establishments/bulldog_lowertown.rb', line 10

def url
  URL
end