class Metrux::Plugins::PeriodicGauge
Attributes
config[R]
options[R]
Public Class Methods
new(config, options = {})
click to toggle source
# File lib/metrux/plugins/periodic_gauge.rb, line 4 def initialize(config, options = {}) @config = config @options = options end
Public Instance Methods
call()
click to toggle source
# File lib/metrux/plugins/periodic_gauge.rb, line 9 def call Metrux.periodic_gauge(key, options) { data } end
data()
click to toggle source
# File lib/metrux/plugins/periodic_gauge.rb, line 17 def data not_implemented end
key()
click to toggle source
# File lib/metrux/plugins/periodic_gauge.rb, line 13 def key not_implemented end
Private Instance Methods
not_implemented()
click to toggle source
# File lib/metrux/plugins/periodic_gauge.rb, line 27 def not_implemented raise NotImplementedError, 'This is a base plugin' end