Class: Velocity::Instance::SearchService

Inherits:
APIModel
  • Object
show all
Defined in:
lib/acceleration/velocity.rb

Overview

SearchService models an instance’s search service, or more commonly called the query service.

TODO: implement

Instance Attribute Summary

Attributes inherited from APIModel

#instance

Instance Method Summary collapse

Methods inherited from APIModel

#method_missing, #resolve, #respond_to_missing?

Constructor Details

#initializeSearchService

Create a new wrapper for the search-service functions.

Raises:

  • (NotImplementedError)


621
622
623
# File 'lib/acceleration/velocity.rb', line 621

def initialize
  raise NotImplementedError
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Velocity::Instance::APIModel

Instance Method Details

#prefixObject

The SearchService prefix is search-service.



616
617
618
# File 'lib/acceleration/velocity.rb', line 616

def prefix
  'search-service'
end