Method: Wukong::Deploy::FTPSyncerOverride#to_vayacondios

Defined in:
lib/wukong-deploy/extensions/ftp_syncer.rb

#to_vayacondiosHash

Returns a representation of this FTP syncer suitable for a Vayacondios stash.

Returns:

  • (Hash)


54
55
56
57
58
59
60
61
62
63
# File 'lib/wukong-deploy/extensions/ftp_syncer.rb', line 54

def to_vayacondios
  {
    protocol: settings[:protocol],
    username: settings[:username],
    password: (settings[:password] ? true : false),
    host:     settings[:host],
    port:     port,
    path:     settings[:path],
  }
end