Method: Github::Client::Activity::Watching#watch
- Defined in:
- lib/github_api/client/activity/watching.rb
#watch(*args) ⇒ Object
Watch a repository
You need to be authenticated to watch a repository
153 154 155 156 157 |
# File 'lib/github_api/client/activity/watching.rb', line 153 def watch(*args) arguments(args, required: [:user, :repo]) put_request("/user/subscriptions/#{arguments.user}/#{arguments.repo}", arguments.params) end |