Module: ROM::Plugins::Relation::Changeset
- Defined in:
- lib/rom/plugins/relation/changeset.rb
Overview
Relation plugin which adds Relation#changeset
method
Defined Under Namespace
Modules: InstanceMethods
Constant Summary collapse
- TYPES =
{ create: ROM::Changeset::Create, update: ROM::Changeset::Update, delete: ROM::Changeset::Delete }.freeze
Class Method Summary collapse
- .apply(target) ⇒ Object private
Class Method Details
.apply(target) ⇒ 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.
20 21 22 |
# File 'lib/rom/plugins/relation/changeset.rb', line 20 def self.apply(target, **) target.include(InstanceMethods) end |