Class: UcbDeployer::ConfigTasks::Jira::ConfigIstBanner

Inherits:
Object
  • Object
show all
Defined in:
lib/ucb_deployer/config_tasks/jira/config_ist_banner.rb

Instance Method Summary collapse

Constructor Details

#initialize(config) ⇒ ConfigIstBanner

Returns a new instance of ConfigIstBanner.



8
9
10
# File 'lib/ucb_deployer/config_tasks/jira/config_ist_banner.rb', line 8

def initialize(config)
  @config = config
end

Instance Method Details

#executeObject



12
13
14
15
# File 'lib/ucb_deployer/config_tasks/jira/config_ist_banner.rb', line 12

def execute()
  FileUtils.cp("#{UcbDeployer::RESOURCES_DIR}/ist_banner.jpg",
               "#{@config.build_dir()}/src/webapp/images/")
end