Class: Flexite::ServiceFactory
- Inherits:
-
BaseFactory
- Object
- BaseFactory
- Flexite::ServiceFactory
- Defined in:
- app/factories/flexite/service_factory.rb
Instance Method Summary collapse
-
#initialize ⇒ ServiceFactory
constructor
A new instance of ServiceFactory.
Methods inherited from BaseFactory
Constructor Details
#initialize ⇒ ServiceFactory
Returns a new instance of ServiceFactory.
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'app/factories/flexite/service_factory.rb', line 5 def initialize @store = { arr_entry_update: 'Entry::ArrayUpdateService', entry_update: 'Entry::UpdateService', config_create: 'Config::CreateService', entry_create: 'Entry::CreateService', arr_entry_create: 'Entry::ArrayCreateService', entry_destroy: 'Entry::DestroyService', arr_entry_destroy: 'Entry::DestroyService', destroy_array_entry: 'Entry::DestroyArrayEntryService', update_config: 'Config::UpdateService', apply_diff: 'Diff::ApplyService', push_diff: 'Diff::PushService', get_diff: 'Diff::GetService', show_diff: 'Diff::ShowService' } end |