Class: Frigate::Form::Synchronizer::Base
- Inherits:
-
Fundamental
- Object
- Fundamental
- Frigate::Form::Synchronizer::Base
- Defined in:
- lib/frigate/form/synchronizer/base.rb
Overview
Base class for Frigate::Form::Base synchronizations It justs abstract class which has two methods
-
sync form with model
-
sync properties errors into form errors
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Fundamental
Instance Method Summary collapse
-
#sync_errors ⇒ Object
synchronizes form properties (associations:properties) errors with general form errors.
-
#sync_with_model ⇒ Object
synchronizes form with model.
Methods inherited from Fundamental
Constructor Details
This class inherits a constructor from Frigate::Form::Synchronizer::Fundamental
Instance Method Details
#sync_errors ⇒ Object
synchronizes form properties (associations:properties) errors with general form errors
16 17 18 |
# File 'lib/frigate/form/synchronizer/base.rb', line 16 def sync_errors raise NotImplementedError end |
#sync_with_model ⇒ Object
synchronizes form with model
11 12 13 |
# File 'lib/frigate/form/synchronizer/base.rb', line 11 def sync_with_model raise NotImplementedError end |