class Syncoku::Local
Responsible for syncing to a local app
Public Instance Methods
both(args)
click to toggle source
# File lib/syncoku/local.rb, line 8 def both(args) db(args) s3(args) if S3.config? end
db(args)
click to toggle source
# File lib/syncoku/local.rb, line 13 def db(args) Syncoku::LocalDb.new.sync(args) end
rebuild(args)
click to toggle source
# File lib/syncoku/local.rb, line 21 def rebuild(args) Syncoku::LocalDb.new.rebuild(args) end
s3(args)
click to toggle source
# File lib/syncoku/local.rb, line 17 def s3(args) Syncoku::S3.new(:development).sync(args) end