module ScoutMetrics::Configuration

Constants

VALID_OPTIONS_KEYS

Public Instance Methods

configure() { |self| ... } click to toggle source
# File lib/scoutmetrics/configuration.rb, line 19
def configure
  yield self
end
options() click to toggle source

Create a hash of options and their values

# File lib/scoutmetrics/configuration.rb, line 13
def options
  VALID_OPTIONS_KEYS.inject({}) do |option, key|
    option.merge!(key => send(key))
  end
end