Class: Euromail::SFTPDevelopment::SFTPConnection

Inherits:
Euromail::SFTPConnection show all
Defined in:
lib/euromail/sftp_development.rb

Instance Method Summary collapse

Methods inherited from Euromail::SFTPConnection

#initialize

Constructor Details

This class inherits a constructor from Euromail::SFTPConnection

Instance Method Details

#remove(identifier) ⇒ Object



9
10
11
# File 'lib/euromail/sftp_development.rb', line 9

def remove identifier
  $stdout.puts "Removed #{@service.filename(identifier)}"
end

#upload(pdf_data, identifier) ⇒ Object



5
6
7
# File 'lib/euromail/sftp_development.rb', line 5

def upload pdf_data, identifier
  $stdout.puts "Uploaded #{@service.filename(identifier)}"
end