Class: Secrets::App::Commands::EncryptDecrypt
- Includes:
- Secrets
- Defined in:
- lib/secrets/app/commands/encrypt_decrypt.rb
Constant Summary
Constants included from Secrets
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods included from Secrets
Methods inherited from Command
inherited, #initialize, #key, #opts
Constructor Details
This class inherits a constructor from Secrets::App::Commands::Command
Instance Method Details
#run ⇒ Object
10 11 12 |
# File 'lib/secrets/app/commands/encrypt_decrypt.rb', line 10 def run send(cli.action, content, opts[:private_key]) end |