Sha256: 91801120ea62b8da4c7d65336b32d0c338e89d666f78fd5dfe042f039cbfa4b7

Contents?: true

Size: 905 Bytes

Versions: 16

Compression:

Stored size: 905 Bytes

Contents

require_dependency 'flexite/base_factory'

module Flexite
  class ServiceFactory < BaseFactory
    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',
        sync_check_diff: 'Diff::SyncCheckService',
        async_check_diff: 'Diff::AsyncCheckService',
        sync_show_diff: 'Diff::SyncShowService',
        async_show_diff: 'Diff::AsyncShowService',
        apply_diff: 'Diff::ApplyService',
        push_diff: 'Diff::PushService'
      }
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
flexite-0.0.23 app/factories/flexite/service_factory.rb
flexite-0.0.22 app/factories/flexite/service_factory.rb
flexite-0.0.21 app/factories/flexite/service_factory.rb
flexite-0.0.20 app/factories/flexite/service_factory.rb
flexite-0.0.19 app/factories/flexite/service_factory.rb
flexite-0.0.18 app/factories/flexite/service_factory.rb
flexite-0.0.17 app/factories/flexite/service_factory.rb
flexite-0.0.16 app/factories/flexite/service_factory.rb
flexite-0.0.15 app/factories/flexite/service_factory.rb
flexite-0.0.14 app/factories/flexite/service_factory.rb
flexite-0.0.13 app/factories/flexite/service_factory.rb
flexite-0.0.12 app/factories/flexite/service_factory.rb
flexite-0.0.11 app/factories/flexite/service_factory.rb
flexite-0.0.10 app/factories/flexite/service_factory.rb
flexite-0.0.9 app/factories/flexite/service_factory.rb
flexite-0.0.8 app/factories/flexite/service_factory.rb