Class: ImportExportCleanUpService
- Inherits:
-
Object
- Object
- ImportExportCleanUpService
- Defined in:
- app/services/import_export_clean_up_service.rb
Constant Summary collapse
- LAST_MODIFIED_TIME_IN_MINUTES =
1440
- DIR_DEPTH =
5
Instance Attribute Summary collapse
-
#mmin ⇒ Object
readonly
Returns the value of attribute mmin.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(mmin = LAST_MODIFIED_TIME_IN_MINUTES) ⇒ ImportExportCleanUpService
constructor
A new instance of ImportExportCleanUpService.
Constructor Details
#initialize(mmin = LAST_MODIFIED_TIME_IN_MINUTES) ⇒ ImportExportCleanUpService
Returns a new instance of ImportExportCleanUpService.
9 10 11 12 |
# File 'app/services/import_export_clean_up_service.rb', line 9 def initialize(mmin = LAST_MODIFIED_TIME_IN_MINUTES) @mmin = mmin @path = Gitlab::ImportExport.storage_path end |
Instance Attribute Details
#mmin ⇒ Object (readonly)
Returns the value of attribute mmin.
7 8 9 |
# File 'app/services/import_export_clean_up_service.rb', line 7 def mmin @mmin end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
7 8 9 |
# File 'app/services/import_export_clean_up_service.rb', line 7 def path @path end |