Sha256: c0fc005da88791ee507d6383f36fd2189c5e77c528760f7bc0279d1fca563968

Contents?: true

Size: 381 Bytes

Versions: 3

Compression:

Stored size: 381 Bytes

Contents

require 'old_sql/report_processor/base'

module OldSql
  module ReportProcessor
    class UserOldSqlDemoProcessor < OldSql::ReportProcessor::Base
   
      def parse(resultset)
        init(resultset)
     
        Rails.logger.debug "REC: #{@rec}"
     
        add_row([@rec['id'], @rec['name']])
        add_row(['Totals', '...'])
     
        @data
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
old_sql-1.17.0 lib/generators/old_sql/templates/user_processor.rb.example
old_sql-1.16.0 lib/generators/old_sql/templates/user_processor.rb.example
old_sql-1.15.0 lib/generators/old_sql/templates/user_processor.rb.example