class Sentry::Scope
def set_contexts(contexts_hash)
-
(Hash)
-
Parameters:
-
contexts
(Hash
) --
def set_contexts(contexts_hash) check_argument_type!(contexts_hash, Hash) contexts_hash.values.each do |val| check_argument_type!(val, Hash) end @contexts.merge!(contexts_hash) do |key, old, new| old.merge(new) end end