Module: ROM::Mapper::ConfigurationPlugin
- Defined in:
- lib/rom/mapper/configuration_plugin.rb
Overview
Model DSL allows setting a model class
Defined Under Namespace
Modules: Methods
Class Method Summary collapse
-
.apply(configuration, options = {}) ⇒ Object
Mapper definition DSL used by Setup DSL.
Class Method Details
.apply(configuration, options = {}) ⇒ Object
Mapper definition DSL used by Setup DSL
13 14 15 16 |
# File 'lib/rom/mapper/configuration_plugin.rb', line 13 def self.apply(configuration, = {}) configuration.extend Methods configuration end |