Module: Omnivault

Defined in:
lib/omnivault.rb,
lib/omnivault/cli.rb,
lib/omnivault/pws.rb,
lib/omnivault/version.rb,
lib/omnivault/abstract_vault.rb,
lib/omnivault/apple_keychain.rb,
lib/omnivault/v1_credential_provider.rb,
lib/omnivault/v2_credential_provider.rb

Defined Under Namespace

Classes: AbstractVault, AppleKeychain, CLI, PWS, V1CredentialProvider, V2CredentialProvider

Constant Summary collapse

VERSION =
'0.2.0'.freeze

Class Method Summary collapse

Class Method Details

.autodetect(name = 'default') ⇒ Object



8
9
10
11
# File 'lib/omnivault.rb', line 8

def self.autodetect(name = 'default')
  Omnivault::AbstractVault.from_env(name) ||
    Omnivault::AbstractVault.for_platform(name)
end