class Lita::Handlers::JenkinsClient

Constants

CONFIGS

Protected Instance Methods

client() click to toggle source
# File lib/lita/handlers/jenkins_client.rb, line 47
def client
  @client ||= JenkinsApi::Client.new(jenkins_params)
end
jenkins_params() click to toggle source
# File lib/lita/handlers/jenkins_client.rb, line 43
def jenkins_params 
  CONFIGS.keys.select{|key| config.respond_to?(key)}.map{|key| [key, config.send(key)] }.to_h
end