Class: ShopeeScrape::ShopeeListGoods
- Inherits:
-
Object
- Object
- ShopeeScrape::ShopeeListGoods
- Defined in:
- lib/shopee.rb
Instance Method Summary collapse
-
#initialize(category, page) ⇒ ShopeeListGoods
constructor
A new instance of ShopeeListGoods.
- #titles ⇒ Object
Constructor Details
#initialize(category, page) ⇒ ShopeeListGoods
Returns a new instance of ShopeeListGoods.
7 8 9 10 |
# File 'lib/shopee.rb', line 7 def initialize(category, page) @category = category @page = page end |
Instance Method Details
#titles ⇒ Object
12 13 14 |
# File 'lib/shopee.rb', line 12 def titles @titles ||= extract_titles end |