class GithubDailyUpdate::Report
The main report generation class
Attributes
reporters[RW]
Public Class Methods
new(options = {})
click to toggle source
# File lib/github_daily_update/report.rb, line 5 def initialize(options = {}) client = ::Octokit::Client.new @reporters = [ GithubDailyUpdate::Reporter::Merged.new(client, options), GithubDailyUpdate::Reporter::OpenPulls.new(client, options) ] end
Public Instance Methods
generate()
click to toggle source
# File lib/github_daily_update/report.rb, line 13 def generate @reporters.map { |r| r.generate } end