Class: ThreeScale::Backend::Transactor::ProcessJob

Inherits:
Object
  • Object
show all
Defined in:
lib/3scale/backend/transactor/process_job.rb

Overview

WARNING: This is not a resque job, the .perform is called by another job, either Report or NotifyJob it’s meant to be like this in case we want to detach it further

Class Method Summary collapse

Class Method Details

.perform(transactions) ⇒ Object



14
15
16
17
# File 'lib/3scale/backend/transactor/process_job.rb', line 14

def perform(transactions)
  transactions = preprocess(transactions)
  Stats::Aggregator.process(transactions)
end