Sha256: c6901c6d40ee7cdcb348b8cef1834c08a7f6744142a2a740189701d896436c74
Contents?: true
Size: 765 Bytes
Versions: 19
Compression:
Stored size: 765 Bytes
Contents
# frozen_string_literal: true 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 = {}) get "#{Repository.path repo}/community/profile", options end end end end
Version data entries
19 entries across 19 versions & 2 rubygems