| Class | ActsAsFerret::AbstractIndex |
| In: |
lib/index.rb
|
| Parent: | Object |
base class for local and remote indexes
| aaf_configuration | [R] | |
| logger | [RW] |
# File lib/index.rb, line 20
20: def index_proxy_method(*names)
21: names.each do |name|
22: define_method name do |*args|
23: @server.send "index_#{name}""index_#{name}", model_class_name, *args
24: end
25: end
26: end
# File lib/index.rb, line 8
8: def initialize(aaf_configuration)
9: @aaf_configuration = aaf_configuration
10: @logger = Logger.new("#{RAILS_ROOT}/log/ferret_index.log")
11: end