lib/eco/api/session/config/sftp.rb in eco-helpers-1.1.3 vs lib/eco/api/session/config/sftp.rb in eco-helpers-1.1.4

- old
+ new

@@ -2,10 +2,15 @@ module API class Session class Config class SFTP < BaseConfig + def configured? + required = host && user && key_file + !!required + end + def host=(value) self["host"] = value end def host @@ -49,10 +54,10 @@ end def remote_folder base_path + "/" + enviro_subpath end - + end end end end end