lib/kankri.rb in kankri-0.1.0 vs lib/kankri.rb in kankri-0.1.1
- old
+ new
@@ -1,6 +1,7 @@
require 'kankri/password_check'
+require 'kankri/privilege_check'
require 'kankri/privilege_set'
require 'kankri/privilege_subject'
require 'kankri/simple_authenticator'
require 'kankri/version'
@@ -24,10 +25,10 @@
# for that key, or a list of String or Symbol privileges the user has for
# that key.
#
# @api public
# @example Create an authenticator from a hash of users.
- # Kankri.authenticator_From_hash(
+ # Kankri.authenticator_from_hash(
# admin: {
# password: 'hunter2',
# privileges: {
# foo: 'all',
# bar: ['abc', 'def', 'ghi'],