Class: ShopeeScrape::ShopeeListAll

Inherits:
Object
  • Object
show all
Defined in:
lib/shopee.rb

Overview

List all category of mobile01

Instance Method Summary collapse

Constructor Details

#initializeShopeeListAll

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_categoriesObject



51
52
53
# File 'lib/shopee.rb', line 51

def get_categories
    @titles ||= extract_json
end