class Github::Activity::Watching

def watching?(*args)


github.activity.watching.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?(*args)
  arguments(args, :required => [:user, :repo])
  get_request("/user/subscriptions/#{user}/#{repo}", arguments.params)
  true
rescue Github::Error::NotFound
  false
end