Class: BeerList::Establishments::ThreeSquares
- Inherits:
-
Establishment
- Object
- Establishment
- BeerList::Establishments::ThreeSquares
- Defined in:
- lib/beer_list/establishments/three_squares.rb
Constant Summary collapse
- URL =
'http://www.3squaresrestaurant.com/beer_taps.php'
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/three_squares.rb', line 6 def get_list page.at('ul').text.split("\r\n") end |
#url ⇒ Object
10 11 12 |
# File 'lib/beer_list/establishments/three_squares.rb', line 10 def url URL end |