# File 'lib/serializers/ose_secret_serializer.rb', line 7deffrom_yaml(yaml)secret_hash=Psych.load(yaml,symbolize_names:true)OSESecret.new(secret_hash.dig(:metadata,:name),yaml)end
.to_account(secret) ⇒ Object
12
13
14
# File 'lib/serializers/ose_secret_serializer.rb', line 12defto_account(secret)Account.new(accountname:secret.name,ose_secret:secret.ose_secret,type:'ose_secret')end