Method: Cnvrg::Project#clone
- Defined in:
- lib/cnvrg/project.rb
#clone(remote = 0, commit) ⇒ Object
439 440 441 442 |
# File 'lib/cnvrg/project.rb', line 439 def clone(remote = 0, commit) response = Cnvrg::API.request("users/#{self.owner}/projects/#{self.slug}/clone", 'POST', {project_slug: self.slug, remote: remote, commit: commit}) return response end |