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