module Wprof::Reporters::DatabaseReport

Public Instance Methods

db_report() click to toggle source
# File lib/wprof/reporters/db_report.rb, line 4
def db_report
  case @rec_type
  when :service
    WprofService.create(@data)
  when :standard
    WprofController.create(@data)
  when :custom
    WprofMethod.create(@data)
  end
end