Class: OpticsAgent::Reporting::SchemaJob

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

Instance Method Summary collapse

Instance Method Details

#perform(agent) ⇒ Object



5
6
7
8
# File 'lib/optics-agent/reporting/schema_job.rb', line 5

def perform(agent)
  schema = OpticsAgent::Reporting::Schema.new agent.schema
  schema.send_with(agent)
end