Module: Rabarber

Defined in:
lib/rabarber.rb,
lib/rabarber/railtie.rb,
lib/rabarber/version.rb,
lib/rabarber/core/rule.rb,
lib/rabarber/core/cache.rb,
lib/rabarber/input/base.rb,
lib/rabarber/input/role.rb,
lib/rabarber/core/access.rb,
lib/rabarber/input/roles.rb,
lib/rabarber/models/role.rb,
lib/rabarber/audit/logger.rb,
lib/rabarber/input/action.rb,
lib/rabarber/configuration.rb,
lib/rabarber/core/roleable.rb,
lib/rabarber/helpers/helpers.rb,
lib/rabarber/core/permissions.rb,
lib/rabarber/input/types/proc.rb,
lib/rabarber/audit/events/base.rb,
lib/rabarber/input/dynamic_rule.rb,
lib/rabarber/input/types/symbol.rb,
lib/rabarber/input/types/boolean.rb,
lib/rabarber/models/concerns/has_roles.rb,
lib/generators/rabarber/roles_generator.rb,
lib/rabarber/audit/events/roles_revoked.rb,
lib/rabarber/audit/events/roles_assigned.rb,
lib/rabarber/audit/events/unauthorized_attempt.rb,
lib/rabarber/controllers/concerns/authorization.rb,
lib/rabarber/core/permissions_integrity_checker.rb

Defined Under Namespace

Modules: Audit, Authorization, Cache, Core, HasRoles, Helpers, Input Classes: Configuration, ConfigurationError, Error, InvalidArgumentError, Railtie, Role, RolesGenerator

Constant Summary collapse

VERSION =
"2.1.0"

Class Method Summary collapse

Class Method Details

.configure {|Rabarber::Configuration.instance| ... } ⇒ Object

Yields:



42
43
44
# File 'lib/rabarber.rb', line 42

def configure
  yield(Rabarber::Configuration.instance)
end