Sha256: 37bc7bcce893bd472a9c0149b423001931f438ba2f58e43ae74cb08c7a2c2709

Contents?: true

Size: 436 Bytes

Versions: 9

Compression:

Stored size: 436 Bytes

Contents

require 'active_support/core_ext/module/delegation'
require 'active_support/core_ext/module/attribute_accessors'

module Ecm
  module Downloads
    module Backend
      module Configuration
        def configure
          yield self
        end

        mattr_accessor :registered_controllers do
          -> { [] }
        end

        mattr_accessor :registered_services do
          -> { [] }
        end
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ecm_downloads2_backend-2.1.0 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-2.0.2 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-2.0.1 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-2.0.0 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-1.1.1 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-1.1.0 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-1.0.3 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-1.0.2 lib/ecm/downloads/backend/configuration.rb
ecm_downloads2_backend-1.0.1 lib/ecm/downloads/backend/configuration.rb