module Github::Repos::Watching
def watching?(user_name, repo_name, params={})
@github.repos.watching? 'user-name', 'repo-name'
@github = Github.new
= Examples
Returns true if this repo is watched by you, false otherwise
Check if you are watching a repository
def watching?(user_name, repo_name, params={}) _validate_presence_of user_name, repo_name _normalize_params_keys(params) get("/user/watched/#{user_name}/#{repo_name}", params) true rescue Github::Error::NotFound false end