Class: OpticsAgent::Reporting::SchemaJob

Inherits:
Object
  • Object
show all
Includes:
SuckerPunch::Job
Defined in:
lib/optics-agent/reporting/schema_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(agent) ⇒ Object



8
9
10
11
12
# File 'lib/optics-agent/reporting/schema_job.rb', line 8

def perform(agent)
  puts 'performing schema job'
  schema = OpticsAgent::Reporting::Schema.new agent.schema
  schema.send
end