Class: Syncoku::Local
Overview
Responsible for syncing to a local app
Instance Method Summary
collapse
#capture, #production_app_name, #run_on_production
Methods included from Runnable
#run_command, #test_command
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
end
|
#rebuild(args) ⇒ Object
21
22
23
|
# File 'lib/syncoku/local.rb', line 21
def rebuild(args)
Syncoku::LocalDb.new.rebuild
end
|
#s3(args) ⇒ Object
17
18
19
|
# File 'lib/syncoku/local.rb', line 17
def s3(args)
Syncoku::S3.new(:development).sync
end
|