Module: Octokit::Client::CommunityProfile
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/octokit/client/community_profile.rb |
Overview
Methods for the Community Profile API
Instance Method Summary
-
#community_profile(repo, options = {}) ⇒ Sawyer::Resource
Get community profile metrics for a repository.
Instance Method Details
#community_profile(repo, options = {}) ⇒ Sawyer::Resource
Get community profile metrics for a repository
# File 'lib/octokit/client/community_profile.rb', line 16
def community_profile(repo, = {}) = ensure_api_media_type(:community_profile, ) get "#{Repository.path repo}/community/profile", end