Module: Cuken::Api::Git::Common
Instance Attribute Summary collapse
-
#git_uri ⇒ Object
Returns the value of attribute git_uri.
-
#local_git_repo ⇒ Object
Returns the value of attribute local_git_repo.
-
#remote_git_repo ⇒ Object
Returns the value of attribute remote_git_repo.
Instance Method Summary collapse
Instance Attribute Details
#git_uri ⇒ Object
Returns the value of attribute git_uri.
24 25 26 |
# File 'lib/cuken/api/git/common.rb', line 24 def git_uri @git_uri end |
#local_git_repo ⇒ Object
Returns the value of attribute local_git_repo.
24 25 26 |
# File 'lib/cuken/api/git/common.rb', line 24 def local_git_repo @local_git_repo end |
#remote_git_repo ⇒ Object
Returns the value of attribute remote_git_repo.
24 25 26 |
# File 'lib/cuken/api/git/common.rb', line 24 def remote_git_repo @remote_git_repo end |
Instance Method Details
#git ⇒ Object
29 30 31 32 |
# File 'lib/cuken/api/git/common.rb', line 29 def git @remote_git_repo ||= "git://github.com/cookbooks/chef-repo.git" @git ||= self end |