Sha256: 2d3df4c32e22332fefbec4d2df68e8560a7520ff5f457041ab450ec98c4357e1
Contents?: true
Size: 755 Bytes
Versions: 2
Compression:
Stored size: 755 Bytes
Contents
# encoding: utf-8 module GithubCLI class Hook < API class << self def all(user, repo, params) github_api.repos.hooks.list user, repo, params end def get(user, repo, id, params) github_api.repos.hooks.get user, repo, id, params end def create(user, repo, params) github_api.repos.hooks.create user, repo, params end def edit(user, repo, id, params) github_api.repos.hooks.edit user, repo, id, params end def test(user, repo, id, params) github_api.repos.hooks.test user, repo, id, params end def delete(user, repo, id, params) github_api.repos.hooks.delete user, repo, id, params end end end # Hook end # GithubCLI
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
github_cli-0.2.1 | lib/github_cli/apis/hook.rb |
github_cli-0.2.0 | lib/github_cli/apis/hook.rb |