lib/alephant/sequencer.rb in alephant-sequencer-0.1.0 vs lib/alephant/sequencer.rb in alephant-sequencer-0.1.1
- old
+ new
@@ -4,12 +4,12 @@
module Alephant
module Sequencer
@@sequence_tables = {}
- def self.create(table_name, ident, jsonpath = nil)
+ def self.create(table_name, ident, jsonpath = nil, keep_all = true)
@@sequence_tables[table_name] ||= SequenceTable.new(table_name)
- Sequencer.new(@@sequence_tables[table_name], ident, jsonpath)
+ Sequencer.new(@@sequence_tables[table_name], ident, jsonpath, keep_all)
end
end
end