class GithubDailyUpdate::Reporter::Base

The base class is the class that reporters extend. All common functionality should go here.

Attributes

options[R]

Public Class Methods

new(client, options = {}) click to toggle source
# File lib/github_daily_update/reporters/base.rb, line 9
def initialize(client, options = {})
  @client = client
  @options = options
end

Public Instance Methods

generate() click to toggle source
# File lib/github_daily_update/reporters/base.rb, line 14
def generate
  throw 'Generate method needs to be defined in the reporter'
end