Sha256: f1c11ddcf15ff6d0acfb1496f9ec93c0448fb9a187f71a31435d08fe1484ddd3

Contents?: true

Size: 159 Bytes

Versions: 9

Compression:

Stored size: 159 Bytes

Contents

module SnowmanIO
  class DataPoint
    include Mongoid::Document
    belongs_to :metric

    field :at, type: DateTime
    field :value, type: Float
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
snowman-io-0.5.1 lib/snowman-io/models/data_point.rb
snowman-io-0.5.0 lib/snowman-io/models/data_point.rb
snowman-io-0.4.0 lib/snowman-io/models/data_point.rb
snowman-io-0.3.1 lib/snowman-io/models/data_point.rb
snowman-io-0.3.0 lib/snowman-io/models/data_point.rb
snowman-io-0.2.0 lib/snowman-io/models/data_point.rb
snowman-io-0.1.0 lib/snowman-io/models/data_point.rb
snowman-io-0.0.6 lib/snowman-io/models/data_point.rb
snowman-io-0.0.5 lib/snowman-io/models/data_point.rb