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

Version Path
spiderfw-1.0.1 apps/master/models/scout_report_field.rb
spiderfw-1.0.0 apps/master/models/scout_report_field.rb
spiderfw-0.6.39 apps/master/models/scout_report_field.rb
spiderfw-0.6.38 apps/master/models/scout_report_field.rb
spiderfw-0.6.37 apps/master/models/scout_report_field.rb
spiderfw-0.6.35 apps/master/models/scout_report_field.rb
spiderfw-0.6.34 apps/master/models/scout_report_field.rb
spiderfw-0.6.33 apps/master/models/scout_report_field.rb
spiderfw-0.6.32 apps/master/models/scout_report_field.rb
spiderfw-0.6.31 apps/master/models/scout_report_field.rb
spiderfw-0.6.30 apps/master/models/scout_report_field.rb
spiderfw-0.6.29 apps/master/models/scout_report_field.rb
spiderfw-0.6.28 apps/master/models/scout_report_field.rb
spiderfw-0.6.27 apps/master/models/scout_report_field.rb
spiderfw-0.6.26 apps/master/models/scout_report_field.rb
spiderfw-0.6.26.pre1 apps/master/models/scout_report_field.rb
spiderfw-0.6.25 apps/master/models/scout_report_field.rb
spiderfw-0.6.24 apps/master/models/scout_report_field.rb
spiderfw-0.6.23 apps/master/models/scout_report_field.rb
spiderfw-0.6.22 apps/master/models/scout_report_field.rb