Method: OSDNClient::ProjectApi#disable_project_git

Defined in:
lib/osdn-client/api/project_api.rb

#disable_project_git(id_or_name, repo_id, opts = {}) ⇒ ProjectGit

Disable a git repository (not an actual delete, just a shorthand for updating with active=false)

Parameters:

  • id_or_name

    numeric project id or project name

  • repo_id
  • opts (Hash) (defaults to: {})

    the optional parameters

Returns:



2009
2010
2011
2012
# File 'lib/osdn-client/api/project_api.rb', line 2009

def disable_project_git(id_or_name, repo_id, opts = {})
  data, _status_code, _headers = disable_project_git_with_http_info(id_or_name, repo_id, opts)
  return data
end