class Flo::Config::LazyCreds

A placeholder for credentials that can be evaluated at a later time

Public Instance Methods

[](key) click to toggle source

Returns a lambda that takes a credential store for a specific provider as an argument. This prevents providers from accessing the credentials for another provider @param key [Symbol,String] @return [lambda]

# File lib/flo/config.rb, line 24
def [](key)
  lambda { |cred_store| cred_store[key] }
end