Method: Github::Client::Orgs::Hooks#get
- Defined in:
- lib/github_api/client/orgs/hooks.rb
#get(*args) ⇒ Object Also known as: find
Get a single hook
40 41 42 43 44 45 |
# File 'lib/github_api/client/orgs/hooks.rb', line 40 def get(*args) arguments(args, required: [:org_name, :id]) get_request("/orgs/#{arguments.org_name}/hooks/#{arguments.id}", arguments.params) end |