Class: Kcu::SetSecretAction
- Inherits:
-
Object
- Object
- Kcu::SetSecretAction
- Extended by:
- LightService::Organizer
- Defined in:
- lib/kcu/actions/set_secret_action.rb
Class Method Summary collapse
Class Method Details
.call(args, options) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/kcu/actions/set_secret_action.rb', line 6 def self.call(args, ) ctx = with({ resource: args[0], entry_name: args[1], entry_value: args[2], options: , }).reduce( GetResourceNamespaceAndName, Secrets::ReadEntryValue, Secrets::EncodeEntryValue, Secrets::SetEntryValue, Secrets::CreateEntryValue, ) end |