Module: Rawscsi
- Defined in:
- lib/rawscsi.rb,
lib/rawscsi/base.rb,
lib/rawscsi/index.rb,
lib/rawscsi/search.rb,
lib/rawscsi/version.rb,
lib/rawscsi/query/simple.rb,
lib/rawscsi/query/compound.rb,
lib/rawscsi/query/stringifier.rb,
lib/rawscsi/request_signature.rb,
lib/rawscsi/stringifier/encode.rb,
lib/rawscsi/stringifier/simple.rb,
lib/rawscsi/stringifier/compound.rb,
lib/rawscsi/index_helpers/sdf_add.rb,
lib/rawscsi/index_helpers/connection.rb,
lib/rawscsi/index_helpers/sdf_delete.rb,
lib/rawscsi/search_helpers/results_hash.rb,
lib/rawscsi/search_helpers/results_active_record.rb
Defined Under Namespace
Modules: IndexHelpers, Query, SearchHelpers, Stringifier
Classes: Base, Configuration, Index, RequestSignature, Search
Constant Summary
collapse
- VERSION =
"1.4.4"
- @@registered_models =
{}
Class Method Summary
collapse
Class Method Details
.register(model) {|config| ... } ⇒ Object
59
60
61
62
63
|
# File 'lib/rawscsi.rb', line 59
def self.register(model)
config = Configuration.new
yield(config)
@@registered_models[model] = config
end
|
.registered_models ⇒ Object
65
66
67
|
# File 'lib/rawscsi.rb', line 65
def self.registered_models
@@registered_models
end
|