Module: Cuken::Api::Git::Common

Includes:
Grit
Included in:
Cuken::Api::Git
Defined in:
lib/cuken/api/git/common.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#git_uriObject

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_repoObject

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_repoObject

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

#gitObject



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