Sha256: 230e791ecfb56476ec6b1c7d534c1074d22e5870f21d7be2891cede35db19873

Contents?: true

Size: 691 Bytes

Versions: 1

Compression:

Stored size: 691 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appfuel-service-0.1.3 lib/appfuel/service/config/newrelic.rb