Sha256: 492903a565457ec39229e07c04845471798898bd2f96dcb88ec4d59b9147ad0c
Contents?: true
Size: 796 Bytes
Versions: 48
Compression:
Stored size: 796 Bytes
Contents
module Spider; module Master class ScoutReportField < Spider::Model::Managed element :name, String, :index => true element :value, Decimal element :report_date, DateTime, :default => lambda{ |obj| obj.report.created_at } element :plugin_instance, ScoutPluginInstance, :default => lambda{ |obj| obj.report.plugin_instance } element :mean, Decimal element :median, Decimal element :mode, Decimal element :stdev, Decimal element :high, Decimal element :low, Decimal element :cnt, Fixnum choice :averaged, { :hour => 'hourly', :day => 'daily', :week => 'weekly', :month => 'monthly', :year => 'yearly' } end end; end
Version data entries
48 entries across 48 versions & 1 rubygems