Class: Bitferry::Rclone::Encrypt

Inherits:
Encryption show all
Defined in:
lib/bitferry.rb

Constant Summary

Constants inherited from Encryption

Bitferry::Rclone::Encryption::PROCESS

Instance Method Summary collapse

Methods inherited from Encryption

#configure, #create, #initialize, #install_token, new, #obtain_token, #process, #process_options, #restore, restore

Constructor Details

This class inherits a constructor from Bitferry::Rclone::Encryption

Instance Method Details

#arguments(task) ⇒ Object



732
# File 'lib/bitferry.rb', line 732

def arguments(task) = super + [decrypted(task).root.to_s, ':crypt:']

#decrypted(task) ⇒ Object



723
# File 'lib/bitferry.rb', line 723

def decrypted(task) = task.source

#encrypted(task) ⇒ Object



720
# File 'lib/bitferry.rb', line 720

def encrypted(task) = task.destination

#externalizeObject



726
# File 'lib/bitferry.rb', line 726

def externalize = super.merge(operation: :encrypt)

#show_operationObject



729
# File 'lib/bitferry.rb', line 729

def show_operation = 'encrypt+'