Class: BeerList::Leads::BeerAdvocate
- Inherits:
-
Object
- Object
- BeerList::Leads::BeerAdvocate
- Includes:
- BeerList::Listable
- Defined in:
- lib/beer_list/leads/beer_advocate.rb
Constant Summary collapse
- BEERFLY =
'http://beeradvocate.com/beerfly/list'
- LEAD_INDICATOR_TEXT =
'official website'
Instance Attribute Summary
Attributes included from BeerList::Listable
Instance Method Summary collapse
- #links ⇒ Object (also: #get_list)
- #url ⇒ Object
Methods included from BeerList::Listable
Instance Method Details
#links ⇒ Object Also known as: get_list
9 10 11 12 |
# File 'lib/beer_list/leads/beer_advocate.rb', line 9 def links @links ||= [] pages end |
#url ⇒ Object
15 16 17 |
# File 'lib/beer_list/leads/beer_advocate.rb', line 15 def url "#{BEERFLY}?c_id=US&s_id=#{short_class_name}&bar=Y" end |