Class: Tire::Model::Import::Strategy::Default

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/tire/model/import.rb

Instance Attribute Summary

Attributes included from Base

#index, #klass, #options

Instance Method Summary collapse

Methods included from Base

#initialize

Instance Method Details

#import(&block) ⇒ Object



114
115
116
117
# File 'lib/tire/model/import.rb', line 114

def import &block
  index.import klass, options.update(:method => 'paginate'), &block
  self
end