class Github::Client::Repos::Deployments
def list(*args)
- Api: - public
def list(*args) arguments(args, required: [:user, :repo]) params = arguments.params params['accept'] ||= PREVIEW_MEDIA response = get_request("repos/#{arguments.user}/#{arguments.repo}/deployments", params) return response unless block_given? response.each { |el| yield el } end