Class: Stellr::MultiCollection

Inherits:
ClientCollection show all
Defined in:
lib/stellr/client.rb

Overview

This client collection class allows to search multiple server side collections at once.

Instance Method Summary collapse

Methods inherited from ClientCollection

#disconnect, #method_missing

Constructor Details

#initialize(server, names, options = {}) ⇒ MultiCollection

Returns a new instance of MultiCollection.



71
72
73
74
# File 'lib/stellr/client.rb', line 71

def initialize( server, names, options = {} )
  @server = server
  @name = @server.register_multi_collection names, options
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Stellr::ClientCollection