Method: Wordmove::Deployer::FTP#initialize

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

#initialize(environment, options) ⇒ FTP

Returns a new instance of FTP.



4
5
6
7
8
# File 'lib/wordmove/deployer/ftp.rb', line 4

def initialize(environment, options)
  super(environment, options)
  ftp_options = remote_options[:ftp]
  @copier = Photocopier::FTP.new(ftp_options).tap { |c| c.logger = logger }
end