Implement Remote::FS#sftp

This commit is contained in:
Thibault Jouan
2013-09-25 00:17:46 +00:00
parent d240df0281
commit 99710b0df9
2 changed files with 24 additions and 0 deletions

View File

@@ -7,6 +7,10 @@ module Producer
def initialize(remote)
@remote = remote
end
def sftp
@sftp ||= @remote.session.sftp.connect
end
end
end
end