Class: ForemanInventoryUpload::ReportsController
  
  
  
  
  
    - Inherits:
 
    - 
      ApplicationController
      
        
          - Object
 
          
            - ApplicationController
 
          
            - ForemanInventoryUpload::ReportsController
 
          
        
        show all
      
     
  
  
  
  
  
  
  
      - Includes:
 
      - InventoryUpload::ReportActions
 
  
  
  
  
  
  
    - Defined in:
 
    - app/controllers/foreman_inventory_upload/reports_controller.rb
 
  
  
 
  
    
      Instance Method Summary
      collapse
    
    
  
  
  
  
  
  
  
  
  
  
  #report_file, #start_report_generation
  
  
  
    Instance Method Details
    
      
  
  
    #generate  ⇒ Object 
  
  
  
  
    
      
22
23
24
25
26
27
28
29
30
31 
     | 
    
      # File 'app/controllers/foreman_inventory_upload/reports_controller.rb', line 22
def generate
  organization_id = params[:organization_id]
  disconnected = params[:disconnected]
  start_report_generation(organization_id, disconnected)
  render json: {
    action_status: 'success',
  }, status: :ok
end
     |