Method: Wordmove::Deployer::Base#initialize

Defined in:
lib/wordmove/deployer/base.rb

#initialize(environment, options = {}) ⇒ Base

Returns a new instance of Base.



38
39
40
41
42
43
44
# File 'lib/wordmove/deployer/base.rb', line 38

def initialize(environment, options = {})
  @environment = environment.to_sym
  @options = options

  movefile_secrets = Wordmove::Movefile.new(options[:config]).secrets
  @logger = self.class.logger(movefile_secrets)
end