Module: CronForGithub

Defined in:
lib/cron_for_github.rb,
lib/cron_for_github/cli.rb,
lib/cron_for_github/ping.rb,
lib/cron_for_github/error.rb,
lib/cron_for_github/client.rb,
lib/cron_for_github/version.rb

Defined Under Namespace

Classes: CLI, Client, CronForGithubError, InvalidRefPrefixError, NeedSlugError, Ping, ReservedNamespaceError

Constant Summary collapse

ISSUE_URL =
'https://github.com/packsaddle/ruby-cron_for_github/issues/new'
VERSION =
'2.0.1'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.loggerObject



19
20
21
22
# File 'lib/cron_for_github.rb', line 19

def self.logger
  return @logger if @logger
  @logger = default_logger
end

Class Method Details

.default_loggerObject



12
13
14
15
16
17
# File 'lib/cron_for_github.rb', line 12

def self.default_logger
  logger = Logger.new(STDERR)
  logger.progname = 'CronForGithub'
  logger.level = Logger::WARN
  logger
end