Class: Pokeedex::Pokemon::Scrapper::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/pokeedex/pokemon/scrapper/base.rb

Overview

Base class for the Pokemon scrapper. It holds the methods to crawl the Pokemon data from the Pokemon website

Direct Known Subclasses

Pokedex

Constant Summary collapse

BASE_URI =

The base URI to crawl the Pokemon data

'https://www.pokemon.com/el/pokedex'

Instance Method Summary collapse

Instance Method Details

#crawlObject

Crawl the Pokemon data from the Pokemon website

Raises:

  • (NotImplementedError)


18
19
20
# File 'lib/pokeedex/pokemon/scrapper/base.rb', line 18

def crawl
  raise NotImplementedError
end