Sha256: 1f61ff27745beb804d75b6b0a98227aa1f566f9a1ec09bab2dfa0431b75b019e

Contents?: true

Size: 431 Bytes

Versions: 11

Compression:

Stored size: 431 Bytes

Contents

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

module Ecm
  module News
    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

11 entries across 11 versions & 1 rubygems

Version Path
ecm_news2_backend-1.2.6 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.2.5 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.2.4 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.2.3 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.2.2 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.2.1 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.2.0 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.1.3 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.1.1 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.1.0 lib/ecm/news/backend/configuration.rb
ecm_news2_backend-1.0.1 lib/ecm/news/backend/configuration.rb