module Tire::Model::Import::Strategy::Base

Attributes

index[R]
klass[R]
options[R]

Public Class Methods

new(klass, options={}) click to toggle source
# File lib/tire/model/import.rb, line 49
def initialize(klass, options={})
  @klass   = klass
  @options = {:per_page => 1000}.update(options)
  @index   = options[:index] ? Tire::Index.new(options.delete(:index)) : klass.tire.index
end