Module: Dbla

Defined in:
lib/dbla.rb,
lib/dbla/engine.rb,
lib/dbla/routes.rb,
lib/dbla/version.rb,
lib/dbla/document.rb,
lib/dbla/response.rb,
lib/dbla/repository.rb,
lib/dbla/abstract_response.rb,
lib/dbla/document_presenter.rb,
lib/dbla/search_builder_behavior.rb,
lib/generators/dbla/assets_generator.rb,
lib/generators/dbla/helper_generator.rb,
lib/generators/dbla/models_generator.rb,
lib/generators/dbla/routes_generator.rb,
lib/generators/dbla/catalog_generator.rb,
lib/generators/dbla/install_generator.rb,
app/controllers/dbla/application_controller.rb,
app/helpers/dbla/application_helper_behavior.rb,
lib/generators/dbla/search_builder_generator.rb

Defined Under Namespace

Modules: ApplicationHelperBehavior, CollectionsHelperBehavior, Document, SearchBuilderBehavior Classes: AbstractResponse, ApplicationController, Assets, CatalogGenerator, DocumentPresenter, Engine, HelperGenerator, Install, ModelsGenerator, Repository, Response, Routes, RoutesGenerator, SearchBuilderGenerator

Constant Summary collapse

VERSION =
"0.0.8"

Class Method Summary collapse

Class Method Details

.configObject



7
8
9
# File 'lib/dbla.rb', line 7

def self.config
  @config ||= YAML.load(File.read(config_path)).symbolize_keys
end

.config_pathObject



4
5
6
# File 'lib/dbla.rb', line 4

def self.config_path
  @config_path ||= File.join(Rails.root,'config','dpla.yml').freeze
end