Class: BeerList::Establishments::BlueDoorPub
- Inherits:
-
Establishment
- Object
- Establishment
- BeerList::Establishments::BlueDoorPub
- Defined in:
- lib/beer_list/establishments/blue_door_pub.rb
Constant Summary collapse
- URL =
'http://thebdp.com/?page_id=159'
Instance Attribute Summary
Attributes included from Listable
Instance Method Summary collapse
Methods inherited from Establishment
Methods included from Listable
Instance Method Details
#get_list ⇒ Object
6 7 8 |
# File 'lib/beer_list/establishments/blue_door_pub.rb', line 6 def get_list page.search('div.two-columns li a').map(&:text) end |
#url ⇒ Object
10 11 12 |
# File 'lib/beer_list/establishments/blue_door_pub.rb', line 10 def url URL end |