Class: InventoryUpload::TaskActions::NothingToSyncError

Inherits:
Foreman::Exception
  • Object
show all
Defined in:
app/controllers/concerns/inventory_upload/task_actions.rb

Constant Summary collapse

MESSAGE =
N_('Nothing to sync, there are no hosts with subscription for this organization.')

Instance Method Summary collapse

Constructor Details

#initialize(**params) ⇒ NothingToSyncError

Returns a new instance of NothingToSyncError.



8
9
10
# File 'app/controllers/concerns/inventory_upload/task_actions.rb', line 8

def initialize(**params)
  super(self.class::MESSAGE, params)
end