Class: Sesc::Crawler
- Inherits:
-
Object
- Object
- Sesc::Crawler
- Defined in:
- lib/sesc/crawler.rb
Instance Method Summary collapse
- #get ⇒ Object
-
#initialize(number, places) ⇒ Crawler
constructor
A new instance of Crawler.
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
#get ⇒ Object
10 11 12 |
# File 'lib/sesc/crawler.rb', line 10 def get request.body end |