Sha256: acaa43631c1ed492d338dbad6db1994eaeb3d36d8c8b47a68686bf43f437e5e9

Contents?: true

Size: 205 Bytes

Versions: 10

Compression:

Stored size: 205 Bytes

Contents

module Prosperity
  class GraphLine < ActiveRecord::Base
    belongs_to :graph
    ATTR_ACCESSIBLE = [:option, :metric, :extractor].freeze

    validates_presence_of :option, :metric, :extractor
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
prosperity-0.0.11 app/models/prosperity/graph_line.rb
prosperity-0.0.10 app/models/prosperity/graph_line.rb
prosperity-0.0.9 app/models/prosperity/graph_line.rb
prosperity-0.0.8 app/models/prosperity/graph_line.rb
prosperity-0.0.7 app/models/prosperity/graph_line.rb
prosperity-0.0.6 app/models/prosperity/graph_line.rb
prosperity-0.0.5 app/models/prosperity/graph_line.rb
prosperity-0.0.4 app/models/prosperity/graph_line.rb
prosperity-0.0.3 app/models/prosperity/graph_line.rb
prosperity-0.0.2 app/models/prosperity/graph_line.rb