Class: Parklife::Responder::Ok
- Defined in:
- lib/parklife/responder/ok.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Parklife::Responder::Base
Instance Method Details
#call(route, response) ⇒ Object
7 8 9 10 |
# File 'lib/parklife/responder/ok.rb', line 7 def call(route, response) crawler.build.add(route, response) crawler.crawl(response.body) if route.crawl end |