class Github::Activity::Watching

def watch(user_name, repo_name, params={})


github.activity.watching.watch 'user-name', 'repo-name'
github = Github.new
= Examples

You need to be authenticated to watch a repository

Watch a repository
def watch(user_name, repo_name, params={})
  assert_presence_of user_name, repo_name
  normalize! params
  put_request("/user/subscriptions/#{user_name}/#{repo_name}", params)
end