class Github::Client::Activity::Starring
def starring?(*args)
- Api: - public
Returns:
-
(Boolean)
-
Other tags:
- See: https://developer.github.com/v3/activity/starring/#check-if-you-are-starring-a-repository -
def starring?(*args) arguments(args, required: [:user, :repo]) get_request("/user/starred/#{arguments.user}/#{arguments.repo}", arguments.params) true rescue Github::Error::NotFound false end