Sha256: 4259ac13088222ba59a2c9cea6336135a64aaa2ce9443f222feabb95a320af39

Contents?: true

Size: 162 Bytes

Versions: 7

Compression:

Stored size: 162 Bytes

Contents

class SqlQuery < Metric
  validates_presence_of_data
  
  def self.display_name
    "SQL Query"
  end
  
  def result
    Ruport::Query.new(data).result
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
daily-0.0.10 app/metrics/sql_query.rb
daily-0.0.9 app/metrics/sql_query.rb
daily-0.0.8 app/metrics/sql_query.rb
daily-0.0.7 app/metrics/sql_query.rb
daily-0.0.6 app/metrics/sql_query.rb
daily-0.0.5 app/metrics/sql_query.rb
daily-0.0.4 app/metrics/sql_query.rb