Sha256: 7a1a4999ac324ade21c4d573e3a44e043fc0a11891935f26813d508a880a4e69
Contents?: true
Size: 960 Bytes
Versions: 3
Compression:
Stored size: 960 Bytes
Contents
# encoding: utf-8 module GithubCLI class Download < API class << self def all(user, repo, params, options) output options do github_api(options).repos.downloads.list user, repo, params end end def get(user, repo, id, params, options) output options do github_api(options).repos.downloads.get user, repo, id, params end end def create(user, repo, params, options) output options do github_api(options).repos.downloads.create user, repo, params end end def upload(resource, filename, options) output options do github_api(options).repos.downloads.upload resource, filename end end def delete(user, repo, id, params, options) output options do github_api(options).repos.downloads.delete user, repo, id, params end end end end # Download end # GithubCLI
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.6.2 | lib/github_cli/apis/download.rb |
github_cli-0.6.1 | lib/github_cli/apis/download.rb |
github_cli-0.6.0 | lib/github_cli/apis/download.rb |