module GrafanaSync

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/grafana_sync.rb, line 10
def config
  @config ||= {}
end
die(msg) click to toggle source
# File lib/grafana_sync.rb, line 18
    def die(msg)
      puts("""Error: #{msg}
Use --debug option to get verbose output.""")
      exit(false)
    end
load_config() click to toggle source
# File lib/grafana_sync.rb, line 6
def load_config
  @load_config ||= load('config.rb')
end
merge_config(file_config) click to toggle source
# File lib/grafana_sync.rb, line 14
def merge_config(file_config)
  config.merge!(file_config)
end