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