Sha256: 572c6633f79d8e4b25284957e94e2162ed54f48c1d6d82a7aa50979844f315c1
Contents?: true
Size: 805 Bytes
Versions: 40
Compression:
Stored size: 805 Bytes
Contents
module Octokit class Client # Methods for the Community Profile API # # @see https://developer.github.com/v3/repos/community/ module CommunityProfile # Get community profile metrics for a repository # # @param repo [Integer, String, Hash, Repository] A GitHub repository # @return [Sawyer::Resource] Community profile metrics # @see https://developer.github.com/v3/repos/community/#retrieve-community-profile-metrics # @example Get community profile metrics for octokit/octokit.rb # @client.community_profile('octokit/octokit.rb') def community_profile(repo, options = {}) options = ensure_api_media_type(:community_profile, options) get "#{Repository.path repo}/community/profile", options end end end end
Version data entries
40 entries across 26 versions & 2 rubygems