Class: Flexite::ActionService
- Inherits:
-
Object
- Object
- Flexite::ActionService
- Defined in:
- app/services/flexite/action_service.rb
Direct Known Subclasses
Config::CreateService, Config::UpdateService, Entry::ArrayCreateService, Entry::ArrayUpdateService, Entry::CreateService, Entry::DestroyArrayEntryService, Entry::DestroyService, Entry::UpdateService
Defined Under Namespace
Classes: Result
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(form, params = {}) ⇒ ActionService
constructor
A new instance of ActionService.
Constructor Details
#initialize(form, params = {}) ⇒ ActionService
Returns a new instance of ActionService.
6 7 8 9 |
# File 'app/services/flexite/action_service.rb', line 6 def initialize(form, params = {}) @form = form @params = params end |
Class Method Details
.inherited(child) ⇒ Object
2 3 4 |
# File 'app/services/flexite/action_service.rb', line 2 def self.inherited(child) child.const_set(:Result, Result) end |
Instance Method Details
#call ⇒ Object
11 12 13 |
# File 'app/services/flexite/action_service.rb', line 11 def call raise NotImplementedError end |