class Github::Activity::Starring

def starring?(user_name, repo_name, params={})


github.activity.starring.starring? 'user-name', 'repo-name'
github = Github.new
= Examples

Returns true if this repo is starred by you,false otherwise

Check if you are starring a repository
def starring?(user_name, repo_name, params={})
  assert_presence_of user_name, repo_name
  normalize! params
  get_request("/user/starred/#{user_name}/#{repo_name}", params)
  true
rescue Github::Error::NotFound
  false
end