class CiHelper::Functions::Base

Attributes

bit_bucket_client[R]
config[R]
issue_monitor[R]
redmine_client[R]
user_cli[R]

Public Class Methods

new(config) click to toggle source
# File lib/ci_helper/functions/base.rb, line 9
def initialize(config)
  @user_cli = CiHelper::UserCommandLineInterface.new
  @config = config

  @issue_monitor     = IssueMonitor.new(config.ci_ac, config.ci_pass)
  @bit_bucket_client = BitBucketProcedure.new(config.bit_ac, config.bit_pass)
  @redmine_client = RedmineProcedure.new(config.redmine_ac, config.redmine_pass)
end

Public Instance Methods

run() click to toggle source
# File lib/ci_helper/functions/base.rb, line 18
def run
  fail NotImplementedError, 'Please implement your function first'
end