Module: PyramidScheme

Defined in:
lib/pyramid_scheme.rb,
lib/pyramid_scheme/tasks.rb,
lib/pyramid_scheme/lock/s3.rb,
lib/pyramid_scheme/lock/base.rb,
lib/pyramid_scheme/lock/file.rb,
lib/pyramid_scheme/index_client.rb,
lib/pyramid_scheme/index_server.rb,
lib/pyramid_scheme/indexer/base.rb,
lib/pyramid_scheme/configuration.rb,
lib/pyramid_scheme/process_manager.rb,
lib/pyramid_scheme/index_provider/s3.rb,
lib/pyramid_scheme/index_provider/base.rb,
lib/pyramid_scheme/indexer/ultrasphinx.rb,
lib/pyramid_scheme/ultrasphinx_indexer.rb,
lib/pyramid_scheme/indexer/thinking_sphinx.rb,
lib/pyramid_scheme/thinking_sphinx_indexer.rb,
lib/pyramid_scheme/index_provider/file_system.rb,
lib/pyramid_scheme/required_configuration_not_found.rb

Defined Under Namespace

Modules: IndexProvider, Indexer, Lock Classes: Configuration, IndexClient, IndexServer, ProcessManager, RequiredConfigurationNotFound, Tasks, ThinkingSphinxIndexer, UltrasphinxIndexer

Class Method Summary collapse

Class Method Details

.configurationObject



40
41
42
# File 'lib/pyramid_scheme.rb', line 40

def self.configuration
  PyramidScheme::Configuration.new
end

.configure(&block) ⇒ Object



32
33
34
# File 'lib/pyramid_scheme.rb', line 32

def self.configure(&block)
  PyramidScheme::Configuration.set(&block)
end

.configure_with_yml(path) ⇒ Object



36
37
38
# File 'lib/pyramid_scheme.rb', line 36

def self.configure_with_yml(path)
  PyramidScheme::Configuration.set_from_yml(path)
end