Module: Materialist
- Defined in:
- lib/materialist/event_worker.rb,
lib/materialist.rb,
lib/configuration.rb,
lib/materialist/errors.rb,
lib/materialist/version.rb,
lib/materialist/materializer.rb,
lib/materialist/event_handler.rb,
lib/materialist/workers/event.rb,
lib/materialist/materialized_record.rb,
lib/materialist/materializer_factory.rb,
lib/materialist/materializer/internals.rb,
lib/materialist/materializer/internals/dsl.rb,
lib/materialist/materializer/internals/resources.rb,
lib/materialist/materializer/internals/link_mapping.rb,
lib/materialist/materializer/internals/materializer.rb,
lib/materialist/materializer/internals/class_methods.rb,
lib/materialist/materializer/internals/field_mapping.rb,
lib/materialist/materializer/internals/link_href_mapping.rb
Overview
This class is here for backwards compatibility with pre 3.1 versions. It can be removed with the next major version (4.0)
Defined Under Namespace
Modules: MaterializedRecord, Materializer, Workers
Classes: Configuration, EventHandler, EventWorker, MaterializerFactory, ResourceNotFound
Constant Summary
collapse
- VERSION =
'3.8.3'
Class Method Summary
collapse
Class Method Details
.configuration ⇒ Object
3
4
5
|
# File 'lib/configuration.rb', line 3
def configuration
@configuration ||= Configuration.new
end
|
11
12
13
|
# File 'lib/configuration.rb', line 11
def configure
yield(self.configuration)
end
|
.reset_configuration! ⇒ Object
7
8
9
|
# File 'lib/configuration.rb', line 7
def reset_configuration!
@configuration = Configuration.new
end
|