Sha256: ad47b68a6b58279593e8bc19a87cb912d264513f656257e359e05a0f3dcc9ac3

Contents?: true

Size: 616 Bytes

Versions: 5

Compression:

Stored size: 616 Bytes

Contents

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

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

        mattr_accessor :registered_controllers do
          lambda do
            [
              Ecm::CoreInfo::Backend::EnginesController,
              Ecm::CoreInfo::Backend::GemsController
            ]
          end
        end

        mattr_accessor :registered_services do
          lambda do
            []
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_core_info_backend-0.0.6 lib/ecm/core_info/backend/configuration.rb
ecm_core_info_backend-0.0.5 lib/ecm/core_info/backend/configuration.rb
ecm_core_info_backend-0.0.4 lib/ecm/core_info/backend/configuration.rb
ecm_core_info_backend-0.0.3 lib/ecm/core_info/backend/configuration.rb
ecm_core_info_backend-0.0.2 lib/ecm/core_info/backend/configuration.rb