class HitorigotoReporter::Config

Attributes

esa_access_token[RW]
esa_current_team[RW]
esa_report_category[RW]
esa_user[RW]
logger[RW]
slack_access_token[RW]
slack_target_channels[RW]
slack_target_channels_delimiter[RW]

Public Class Methods

configuration() click to toggle source
# File lib/hitorigoto_reporter/config.rb, line 19
def self.configuration
  @config ||= configure {}
end
configure(&block) click to toggle source
# File lib/hitorigoto_reporter/config.rb, line 15
def self.configure(&block)
  @config = Config::Builder.new(&block).build
end
new() click to toggle source
# File lib/hitorigoto_reporter/config.rb, line 23
def initialize
  @logger = Logger.new(STDOUT)
  @slack_target_channels_delimiter = ";"
  @esa_user = "esa_bot"
end