module Aws::Embedded::Metrics::Config

Constants

DEFAULT_SINK

Public Class Methods

config() click to toggle source
# File lib/aws-embedded-metrics-customink/config.rb, line 17
def config
  @config ||= Configuration.new
end
configure() { |config| ... } click to toggle source
# File lib/aws-embedded-metrics-customink/config.rb, line 8
def configure
  yield(config)
  config
end
reconfigure() { |c| ... } click to toggle source
# File lib/aws-embedded-metrics-customink/config.rb, line 13
def reconfigure
  config.reconfigure { |c| yield(c) if block_given? }
end

Private Instance Methods

config() click to toggle source
# File lib/aws-embedded-metrics-customink/config.rb, line 17
def config
  @config ||= Configuration.new
end
configure() { |config| ... } click to toggle source
# File lib/aws-embedded-metrics-customink/config.rb, line 8
def configure
  yield(config)
  config
end
reconfigure() { |c| ... } click to toggle source
# File lib/aws-embedded-metrics-customink/config.rb, line 13
def reconfigure
  config.reconfigure { |c| yield(c) if block_given? }
end