class Euromail::SFTPTest::SFTPConnection

Public Instance Methods

remove(identifier) click to toggle source
# File lib/euromail/sftp_test.rb, line 10
def remove identifier
  @service.removed_files = [] if @service.removed_files.empty?
  @service.removed_files << @service.filename(identifier)
end
upload(pdf_data, identifier) click to toggle source
# File lib/euromail/sftp_test.rb, line 5
def upload pdf_data, identifier
  @service.uploaded_files = [] if @service.uploaded_files.empty?
  @service.uploaded_files << @service.filename(identifier)
end