Class: BrDb::ImportCompaniesController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- BrDb::ImportCompaniesController
- Defined in:
- app/controllers/br_db/import_companies_controller.rb
Instance Method Summary collapse
Instance Method Details
#create ⇒ Object
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 |