class Github::Gists
def starred?(*args)
github.gists.starred? 'gist-id'
github = Github.new
= Examples
Check if a gist is starred
def starred?(*args) arguments(args, :required => [:gist_id]) get_request("/gists/#{gist_id}/star", arguments.params) true rescue Github::Error::NotFound false end