lib/rails/auth/credentials.rb in rails-auth-2.1.3 vs lib/rails/auth/credentials.rb in rails-auth-2.1.4
- old
+ new
@@ -8,10 +8,10 @@
# Stores a set of credentials
class Credentials
extend Forwardable
include Enumerable
- def_delegators :@credentials, :fetch, :empty?, :key?, :each, :to_hash
+ def_delegators :@credentials, :fetch, :empty?, :key?, :each, :to_hash, :values
def self.from_rack_env(env)
new(env.fetch(Rails::Auth::Env::CREDENTIALS_ENV_KEY, {}))
end