Class: BitwardenSDKSecrets::SelectiveCommand

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

Instance Method Summary collapse

Methods inherited from Command

from_dynamic!, from_json!, #to_json

Instance Method Details

#to_dynamicObject



14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/extended_schemas/schemas.rb', line 14

def to_dynamic
  {
    "passwordLogin"    => &.to_dynamic,
    "apiKeyLogin"      => &.to_dynamic,
    "loginAccessToken" => &.to_dynamic,
    "getUserApiKey"    => get_user_api_key&.to_dynamic,
    "fingerprint"      => fingerprint&.to_dynamic,
    "sync"             => sync&.to_dynamic,
    "secrets"          => secrets&.to_dynamic,
    "projects"         => projects&.to_dynamic,
    "generators"       => generators&.to_dynamic,
  }.compact
end