Class: BitwardenSDKSecrets::SelectiveSecretsCommand

Inherits:
SecretsCommand
  • Object
show all
Defined in:
lib/extended_schemas/schemas.rb

Instance Method Summary collapse

Methods inherited from SecretsCommand

from_dynamic!, from_json!, #to_json

Instance Method Details

#to_dynamicObject



53
54
55
56
57
58
59
60
61
62
# File 'lib/extended_schemas/schemas.rb', line 53

def to_dynamic
  {
    "get"      => get&.to_dynamic,
    "getByIds" => get_by_ids&.to_dynamic,
    "create"   => create&.to_dynamic,
    "list"     => list&.to_dynamic,
    "update"   => update&.to_dynamic,
    "delete"   => delete&.to_dynamic,
  }.compact
end