class Github::Gists
def starred?(gist_id, params={})
@github.gists.unstar 'gist-id'
@github = Github.new
= Examples
Check if a gist is starred
def starred?(gist_id, params={}) _validate_presence_of(gist_id) _normalize_params_keys(params) get("/gists/#{gist_id}/star", params) true rescue Github::ResourceNotFound false end