Method: Cloudant::Replicator#sync
- Defined in:
- lib/cloudant/replicator.rb
#sync(target) ⇒ Object
Sets the database to repliacte the 2 databases continuously.
30 31 32 |
# File 'lib/cloudant/replicator.rb', line 30 def sync(target) replicate_db(target,{:continuous => true, :create_target => true}) end |