Class: Kcu::GetSecretAction
- Inherits:
-
Object
- Object
- Kcu::GetSecretAction
- Extended by:
- LightService::Organizer
- Defined in:
- lib/kcu/actions/get_secret_action.rb
Class Method Summary collapse
Class Method Details
.call(resource, entry_name) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/kcu/actions/get_secret_action.rb', line 6 def self.call(resource, entry_name) ctx = with(resource: resource, entry_name: entry_name).reduce( GetResourceNamespaceAndName, Secrets::GetJson, Secrets::DecodeData, Secrets::GetEntryValue, ) ap ctx.entry_value end |