Method: Github::Client::Activity::Watching#create
- Defined in:
- lib/github_api/client/activity/watching.rb
#create(*args) ⇒ Object Also known as: subscribe
Create subscription to a repository
95 96 97 98 99 |
# File 'lib/github_api/client/activity/watching.rb', line 95 def create(*args) arguments(args, required: [:user, :repo]) put_request("/repos/#{arguments.user}/#{arguments.repo}/subscription", arguments.params) end |