module NexusCli::SmartProxyActions

def disable_artifact_subscribe(repository_id)

Returns:
  • (Boolean) - true if the repository is disabled, false otherwise

Parameters:
  • repository_id (String) -- the repository to disable artifact subscribing on
def disable_artifact_subscribe(repository_id)
  raise NotProxyRepositoryException.new(repository_id) unless is_proxy_repository?(get_repository_info(repository_id))
  params = {:repositoryId => repository_id}
  params[:subscribe] = false
  artifact_subscribe(repository_id, params)
end