lib/eco/api/session/config/sftp.rb in eco-helpers-2.5.10 vs lib/eco/api/session/config/sftp.rb in eco-helpers-2.6.0
- old
+ new
@@ -10,9 +10,13 @@
def configured?
required = host && user && (key_file || password)
!!required
end
+ def enviro_subpaths
+ self['enviro_subpaths'] ||= {}
+ end
+
def enviro_subpath
enviro_subpaths[config.active_enviro]
end
def remote_folder