class ContributorsStats::Reader::GhRepo
Plugin to load contributions from Github repository
Public Class Methods
load(name) { |data, name| ... }
click to toggle source
load contributions for Github repository param name [String] name of the repository to load return [Array] loaded conributors data
# File lib/plugins/contributors_stats/reader/gh_repo.rb, line 12 def self.load(name) data = load_json(url_builder("repos/#{name}/contributors")) yield(data, name) if block_given? data end