Sha256: 34ac40b8abc4650133b3b5c98dece08a2dc38f8a27b0213337c07cd7b8a8ccb4

Contents?: true

Size: 578 Bytes

Versions: 3

Compression:

Stored size: 578 Bytes

Contents

module Appfuel
  module Service
    module Config
      def self.newrelic_definition
        Appfuel::Configuration.define :newrelic do
          defaults log_level:     'info',
                   monitor_mode:  'true',
                   agent_enabled: 'true'
          validator {
            required(:license_key).filled(:str?)
            required(:app_name).filled(:str?)
            optional(:log_level).filled(:str?)
            optional(:monitor_mode).filled(:str?)
            optional(:agent_enabled).filled(:str?)
          }
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
appfuel-service-0.1.7 lib/appfuel/service/config/newrelic.rb
appfuel-service-0.1.6 lib/appfuel/service/config/newrelic.rb
appfuel-service-0.1.4 lib/appfuel/service/config/newrelic.rb