Origami Importer
Usage
Origami::Importer.import(:host => 'origami.dev', :realm => 'area51', :source => 'x-files', :reader => SomeAdapter.new)
The reader
must have the following methods:
:in_batches
- yields sets of data that are acceptable to origami:relay=
- takes the data from the previous import.:relay
- custom data that will be returned to the next import. Can be nil.