Class: BeerList::Establishments::HappyGnome
- Inherits:
-
Establishment
- Object
- Establishment
- BeerList::Establishments::HappyGnome
- Defined in:
- lib/beer_list/establishments/happy_gnome.rb
Constant Summary collapse
- DRAFTS =
'http://thehappygnome.com/menus/drafts/'
- BOTTLES =
'http://thehappygnome.com/menus/bottled-beers/'
Instance Attribute Summary collapse
-
#url ⇒ Object
Returns the value of attribute url.
Attributes included from Listable
Instance Method Summary collapse
- #get_list ⇒ Object
-
#initialize ⇒ HappyGnome
constructor
A new instance of HappyGnome.
Methods inherited from Establishment
Methods included from Listable
Constructor Details
#initialize ⇒ HappyGnome
Returns a new instance of HappyGnome.
9 10 11 |
# File 'lib/beer_list/establishments/happy_gnome.rb', line 9 def initialize @url = DRAFTS end |
Instance Attribute Details
#url ⇒ Object
Returns the value of attribute url.
4 5 6 |
# File 'lib/beer_list/establishments/happy_gnome.rb', line 4 def url @url end |
Instance Method Details
#get_list ⇒ Object
13 14 15 16 |
# File 'lib/beer_list/establishments/happy_gnome.rb', line 13 def get_list get_draft_list get_bottle_list end |