Class: Bitferry::Rclone::Decrypt

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

Constant Summary

Constants inherited from Encryption

Encryption::PROCESS, Encryption::ROUTE

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



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

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

#decrypted(task) ⇒ Object



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

def decrypted(task) = task.destination

#encrypted(task) ⇒ Object



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

def encrypted(task) = task.source

#externalizeObject



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

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

#show_operationObject



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

def show_operation = 'decrypt+'