Class: Syncoku::Local
- Inherits:
-
Object
- Object
- Syncoku::Local
- Includes:
- CaptureBackup, Runnable
- Defined in:
- lib/syncoku/local.rb
Overview
Responsible for syncing to a local app
Instance Method Summary collapse
Methods included from CaptureBackup
#capture, #production_app_name, #run_on_production
Methods included from Git
Methods included from Runnable
Instance Method Details
#both(args) ⇒ Object
8 9 10 11 |
# File 'lib/syncoku/local.rb', line 8 def both(args) db(args) s3(args) if S3.config? end |
#db(args) ⇒ Object
13 14 15 |
# File 'lib/syncoku/local.rb', line 13 def db(args) Syncoku::LocalDb.new.sync(args) end |