Class: Wallaby::Mode
- Inherits:
-
Object
- Object
- Wallaby::Mode
- Defined in:
- lib/interfaces/wallaby/mode.rb
Overview
This is the abstract class that all ORM modes to have implemented.
Direct Known Subclasses
Class Method Summary collapse
-
.model_decorator ⇒ Wallaby::ModelDecorator
Model decorator for the mode.
-
.model_finder ⇒ Wallaby::ModelFinder
Model finder for the mode.
-
.model_pagination_provider ⇒ Wallaby::ModelPaginationProvider
pagination provider for the mode.
-
.model_service_provider ⇒ Wallaby::ModelServiceProvider
Service provider for the mode.
Class Method Details
.model_decorator ⇒ Wallaby::ModelDecorator
Returns model decorator for the mode.
7 8 9 |
# File 'lib/interfaces/wallaby/mode.rb', line 7 def model_decorator check_and_constantize __callee__ end |
.model_finder ⇒ Wallaby::ModelFinder
Returns model finder for the mode.
13 14 15 |
# File 'lib/interfaces/wallaby/mode.rb', line 13 def model_finder check_and_constantize __callee__ end |
.model_pagination_provider ⇒ Wallaby::ModelPaginationProvider
pagination provider for the mode
26 27 28 |
# File 'lib/interfaces/wallaby/mode.rb', line 26 def model_pagination_provider check_and_constantize __callee__ end |
.model_service_provider ⇒ Wallaby::ModelServiceProvider
Returns service provider for the mode.
19 20 21 |
# File 'lib/interfaces/wallaby/mode.rb', line 19 def model_service_provider check_and_constantize __callee__ end |