Sha256: db53842ace42ee05d77083140a109412a42d5be2a403f004e8d39b65bc929656

Contents?: true

Size: 619 Bytes

Versions: 8

Compression:

Stored size: 619 Bytes

Contents

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

        mattr_accessor(:registered_controllers) do
          lambda do
            [
              Ecm::Staff::Backend::OrganisationsController,
              Ecm::Staff::Backend::BusinessUnitsController,
              Ecm::Staff::Backend::PositionsController,
              Ecm::Staff::Backend::PeopleController
            ]
          end
        end

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ecm_staff2_backend-1.0.1 lib/ecm/staff/backend/configuration.rb
ecm_staff2_backend-1.0.0 lib/ecm/staff/backend/configuration.rb
ecm_staff2_backend-0.1.3 lib/ecm/staff/backend/configuration.rb
ecm_staff2_backend-0.1.2 lib/ecm/staff/backend/configuration.rb
ecm_staff2_backend-0.1.1 lib/ecm/staff/backend/configuration.rb
ecm_staff2_backend-0.1.0 lib/ecm/staff/backend/configuration.rb
ecm_staff2_backend-0.0.2 lib/ecm/staff/backend/configuration.rb
ecm_staff2_backend-0.0.1 lib/ecm/staff/backend/configuration.rb