class Sftp::Sync::Runner

Public Class Methods

new(options = {}) click to toggle source
# File lib/sftp/sync/runner.rb, line 9
def initialize(options = {})
  @config = Config.new(options)
end

Public Instance Methods

diff() click to toggle source
# File lib/sftp/sync/runner.rb, line 30
def diff
  client = Sftp::Sync::Client.new(@config)

  client.diff
end
list() click to toggle source
# File lib/sftp/sync/runner.rb, line 15
def list
  client = Sftp::Sync::Client.new(@config)

  client.list
end
pull() click to toggle source
# File lib/sftp/sync/runner.rb, line 22
def pull
  client = Sftp::Sync::Client.new(@config)

  client.pull
end