class Github::Repos::Watching

def watched(*args)


github.repos.watching.watched
github = Github.new :oauth_token => '...'
= Examples

List repos being watched by the authenticated user

github.repos.watching.watched :user => 'user-name'
github = Github.new
= Examples

List repos being watched by a user
def watched(*args)
  params = args.extract_options!
  _normalize_params_keys(params)
  _merge_user_into_params!(params) unless params.has_key?('user')
  response = if (user_name = params.delete('user'))
    get_request("/users/#{user_name}/watched", params)
  else
    get_request("/user/watched", params)
  end
  return response unless block_given?
  response.each { |el| yield el }
end