From 60c9e15687e2c71c97a6469caba76de3718fd77c Mon Sep 17 00:00:00 2001 From: dpavlotzky Date: Wed, 24 Jan 2024 09:21:42 +0100 Subject: [PATCH] Added mount accessor to Auth response type --- lib/vault/api/sys/auth.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/vault/api/sys/auth.rb b/lib/vault/api/sys/auth.rb index 873d4e94..4a605197 100644 --- a/lib/vault/api/sys/auth.rb +++ b/lib/vault/api/sys/auth.rb @@ -14,6 +14,11 @@ class Auth < Response # Name of the auth backend. # @return [String] field :type + + # @!attribute [r] accessor + # Accessor of the auth backend. + # @return [String] + field :accessor end class AuthConfig < Response @@ -32,7 +37,7 @@ class Sys # List all auths in Vault. # # @example - # Vault.sys.auths #=> {:token => #} + # Vault.sys.auths #=> {:token => #} # # @return [Hash] def auths