Class: ROM::ConfigurationPlugin

Inherits:
PluginBase show all
Defined in:
lib/rom/configuration_plugin.rb

Overview

ConfigurationPlugin is a simple object used to store configuration plugin configurations

Instance Attribute Summary

Attributes inherited from PluginBase

#mod, #options, #type

Instance Method Summary collapse

Methods inherited from PluginBase

#initialize, #relation?, #schema?

Constructor Details

This class inherits a constructor from ROM::PluginBase

Instance Method Details

#apply_to(configuration, options = {}) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Apply this plugin to the provided configuration

Parameters:



13
14
15
# File 'lib/rom/configuration_plugin.rb', line 13

def apply_to(configuration, options = {})
  mod.apply(configuration, options)
end