Class: SchemaContract::ValidationJob

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Job
Defined in:
app/sidekiq/schema_contract/validation_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(contract_name) ⇒ Object



9
10
11
# File 'app/sidekiq/schema_contract/validation_job.rb', line 9

def perform(contract_name)
  SchemaContract::Validator.new(contract_name).validate
end