Sha256: 2fbb0440d188fca95222496241e20256311835aee9ad73f19adda73bf4733ddb
Contents?: true
Size: 256 Bytes
Versions: 1
Compression:
Stored size: 256 Bytes
Contents
class DummyMetrics < Influxer::Metrics # :nodoc: tags :dummy_id, :host attributes :user_id validates_presence_of :dummy_id, :user_id before_write -> { self.timestamp = Time.now.to_i } scope :calc, ->(method, *args) { send(method, *args) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
influxer-0.4.0 | spec/support/metrics/dummy_metrics.rb |