Class: ShopeeScrape::ShopeeListAll
- Inherits:
-
Object
- Object
- ShopeeScrape::ShopeeListAll
- Defined in:
- lib/shopee.rb
Overview
List all category of mobile01
Instance Method Summary collapse
- #get_categories ⇒ Object
-
#initialize ⇒ ShopeeListAll
constructor
A new instance of ShopeeListAll.
Constructor Details
#initialize ⇒ ShopeeListAll
Returns a new instance of ShopeeListAll.
47 48 49 |
# File 'lib/shopee.rb', line 47 def initialize @cate_name = ALL_LINK end |
Instance Method Details
#get_categories ⇒ Object
51 52 53 |
# File 'lib/shopee.rb', line 51 def get_categories @titles ||= extract_json end |