Class: Oak
Instance Attribute Summary collapse
-
#secret_token ⇒ Object
readonly
Returns the value of attribute secret_token.
Instance Method Summary collapse
Instance Attribute Details
#secret_token ⇒ Object (readonly)
Returns the value of attribute secret_token.
5 6 7 |
# File 'lib/oak.rb', line 5 def secret_token @secret_token end |
Instance Method Details
#setup(working_directory = '.') ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/oak.rb', line 8 def setup(working_directory = '.') self.destination_root = working_directory FileUtils.chdir destination_root do check_cfg dummy_config git_prepare create_config_on_deploy commit_deploy_branch end end |