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/datastream.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,
hydra-core/lib/generators/hydra/hyhead_fixtures_generator.rb,
hydra-access-controls/lib/hydra/datastream/rights_metadata.rb,
hydra-access-controls/lib/hydra/datastream/inheritable_rights_metadata.rb

Defined Under Namespace

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

Class Method Summary (collapse)

Class Method Details

+ (Object) configure(_ = nil) {|@config| ... } 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