Class: Velocity::Instance::SearchCollection::Crawler
- Inherits:
-
CollectionService
- Object
- APIModel
- CollectionService
- Velocity::Instance::SearchCollection::Crawler
- Defined in:
- lib/acceleration/velocity.rb
Overview
The Crawler service of the collection
Methods implied by method_missing:
-
start
-
stop
-
restart
Instance Attribute Summary
Attributes inherited from CollectionService
Attributes inherited from APIModel
Instance Method Summary collapse
-
#prefix ⇒ Object
The prefix for interacting with the Velocity API.
-
#status(args = {}) ⇒ Object
Get the status of the crawler.
Methods inherited from CollectionService
#initialize, #restart, #start, #stop
Methods inherited from APIModel
#initialize, #method_missing, #resolve, #respond_to_missing?
Constructor Details
This class inherits a constructor from Velocity::Instance::SearchCollection::CollectionService
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Velocity::Instance::APIModel
Instance Method Details
#prefix ⇒ Object
The prefix for interacting with the Velocity API.
1016 1017 1018 |
# File 'lib/acceleration/velocity.rb', line 1016 def prefix collection.prefix + '-crawler' end |
#status(args = {}) ⇒ Object
Get the status of the crawler
This is a convenience method for Status#crawler. See SearchCollection#status for optional arguments.
1026 1027 1028 |
# File 'lib/acceleration/velocity.rb', line 1026 def status(args = {}) collection.status(args).crawler end |