Sha256: f66b93b98674a725a84d97f3b2b1cd398c2788b0d5a97cc8ec1fb67251404328

Contents?: true

Size: 325 Bytes

Versions: 13

Compression:

Stored size: 325 Bytes

Contents

module Kms
  class SettingsService
    cattr_accessor :templates do
      Hash.new {|h, key| h[key] = []}
    end

    # engine - engine class
    # settings_templates - engine settings templates
    def self.register_templates(engine, *settings_templates)
      templates[engine].concat settings_templates
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
kms-1.2.1 app/services/kms/settings_service.rb
kms-1.2.0 app/services/kms/settings_service.rb
kms-1.1.0 app/services/kms/settings_service.rb
kms-1.0.1 app/services/kms/settings_service.rb
kms-1.0.0 app/services/kms/settings_service.rb
kms-0.9.0 app/services/kms/settings_service.rb
kms-0.8.0 app/services/kms/settings_service.rb
kms-0.7.0 app/services/kms/settings_service.rb
kms-0.6.0 app/services/kms/settings_service.rb
kms-0.5.0 app/services/kms/settings_service.rb
kms-0.4.2 app/services/kms/settings_service.rb
kms-0.4.1 app/services/kms/settings_service.rb
kms-0.4.0 app/services/kms/settings_service.rb