Module: Hydra

Extended by:
ActiveSupport::Autoload
Defined in:
hydra-access-controls/lib/hydra/config.rb,
hydra-access-controls/lib/hydra/ability.rb,
hydra-access-controls/lib/hydra/admin_policy.rb,
hydra-core/lib/generators/hydra/head_generator.rb,
hydra-access-controls/lib/hydra-access-controls.rb,
hydra-core/lib/generators/hydra/jetty_generator.rb,
hydra-access-controls/lib/hydra/permissions_query.rb

Defined Under Namespace

Modules: Ability, AccessControlsEnforcement, PermissionsQuery, PolicyAwareAbility, PolicyAwareAccessControlsEnforcement, RoleMapperBehavior, User Classes: AccessDenied, AdminPolicy, Config, Engine, HeadGenerator, Jetty, PermissionsCache, PermissionsSolrDocument

Class Method Summary collapse

Class Method Details

.configure(_ = nil) {|@config| ... } ⇒ Object Also known as: config

Yields:



24
25
26
27
28
# File 'hydra-access-controls/lib/hydra-access-controls.rb', line 24

def configure(_ = nil)
  @config ||= Config.new
  yield @config if block_given?
  @config
end