Class: BrDb::ImportCompaniesController

Inherits:
ApplicationController show all
Defined in:
app/controllers/br_db/import_companies_controller.rb

Instance Method Summary collapse

Instance Method Details

#createObject



3
4
5
6
# File 'app/controllers/br_db/import_companies_controller.rb', line 3

def create
  LoadCompaniesJob.perform_later
  render json: { message: "Companies are being imported" }
end