Class: Importo::ImportService
- Inherits:
-
ApplicationService
- Object
- ApplicationService
- Importo::ImportService
- Defined in:
- app/services/importo/import_service.rb
Instance Method Summary collapse
Methods inherited from ApplicationService
Instance Method Details
#perform ⇒ Object
5 6 7 8 9 10 11 |
# File 'app/services/importo/import_service.rb', line 5 def perform context.import.import! context.import.importer.import! rescue context.import.failure! context.fail! end |