Class: Sesc::Crawler

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

Instance Method Summary collapse

Constructor Details

#initialize(number, places) ⇒ Crawler

Returns a new instance of Crawler.



5
6
7
8
# File 'lib/sesc/crawler.rb', line 5

def initialize(number, places)
  @number = number
  @places = places.to_s.split(',')
end

Instance Method Details

#getObject



10
11
12
# File 'lib/sesc/crawler.rb', line 10

def get
  request.body
end