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



56
57
58
59
60
61
62
63
64
65
66
# File 'lib/extended_schemas/schemas.rb', line 56

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,
    "sync"     => sync&.to_dynamic,
  }.compact
end