Module: Worthwhile
- Defined in:
- app/models/concerns/worthwhile/solr_document_behavior.rb,
lib/worthwhile.rb,
lib/worthwhile/engine.rb,
lib/worthwhile/version.rb,
lib/worthwhile/configuration.rb,
app/helpers/worthwhile/url_helper.rb,
app/models/worthwhile/generic_file.rb,
lib/worthwhile/controller_resource.rb,
app/helpers/worthwhile/lease_helper.rb,
app/helpers/worthwhile/ability_helper.rb,
app/helpers/worthwhile/embargo_helper.rb,
app/models/worthwhile/content_version.rb,
app/models/worthwhile/linked_resource.rb,
app/services/worthwhile/lease_service.rb,
app/models/concerns/worthwhile/ability.rb,
app/models/worthwhile/classify_concern.rb,
app/helpers/worthwhile/attribute_helper.rb,
app/helpers/worthwhile/thumbnail_helper.rb,
app/services/worthwhile/embargo_service.rb,
app/services/worthwhile/curation_concern.rb,
app/models/worthwhile/contributor_agreement.rb,
lib/generators/worthwhile/install_generator.rb,
app/helpers/worthwhile/render_constraints_helper.rb,
app/models/concerns/worthwhile/generic_file_base.rb,
app/models/worthwhile/quick_classification_query.rb,
app/controllers/worthwhile/application_controller.rb,
app/controllers/concerns/worthwhile/files_controller.rb,
app/controllers/concerns/worthwhile/manages_embargoes.rb,
app/controllers/concerns/worthwhile/without_namespace.rb,
app/actors/concerns/worthwhile/manages_embargoes_actor.rb,
app/controllers/worthwhile/classify_concerns_controller.rb,
app/models/concerns/worthwhile/generic_file/versioned_content.rb,
app/controllers/concerns/worthwhile/application_controller_behavior.rb
Overview
This was moved out of sufia-models and into sufia/app/models. Copied the file in here to retain the functionality until/unless the file gets moved back into sufia-models. -*- encoding : utf-8 -*-
Defined Under Namespace
Modules: Ability, AbilityHelper, ApplicationControllerBehavior, AttributeHelper, CatalogController, CatalogHelper, CollectionsHelper, CurationConcern, CurationConcernController, EmbargoHelper, EmbargoService, FilesController, GenericFileBase, GenericFileHelper, GenericWorkRdfProperties, LeaseHelper, LeaseService, MainAppHelpers, ManagesEmbargoes, ManagesEmbargoesActor, ParentContainer, RenderConstraintsHelper, SearchPathsHelper, SolrDocumentBehavior, ThemedLayoutController, ThumbnailHelper, TitleHelper, UrlHelper, WithoutNamespace Classes: ApplicationController, ClassifyConcern, ClassifyConcernsController, Configuration, ContentVersion, ContributorAgreement, ControllerResource, Engine, GenericFile, Install, LinkedResource, PropertiesDatastream, QuickClassificationQuery
Constant Summary collapse
- VERSION =
"0.0.2"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
4 5 6 |
# File 'lib/worthwhile/configuration.rb', line 4 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
7 8 9 10 |
# File 'lib/worthwhile/configuration.rb', line 7 def self.configure self.configuration ||= Configuration.new yield(configuration) end |