Class: Velocity::Instance::SearchCollection::Crawler

Inherits:
CollectionService show all
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

#collection

Attributes inherited from APIModel

#instance

Instance Method Summary collapse

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

#prefixObject

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