Remove deprecated code

This commit is contained in:
Juan José Mata
2026-01-12 15:13:19 +00:00
parent 064833621e
commit ebdaafaf95

View File

@@ -1,17 +0,0 @@
# frozen_string_literal: true
# DEPRECATED: This thin wrapper remains only for backward compatibility.
# Business logic has moved into `SimplefinItem::Unlinking` (model concern).
# Prefer calling `item.unlink_all!(dry_run: ...)` directly.
class SimplefinItem::Unlinker
attr_reader :item, :dry_run
def initialize(item, dry_run: false)
@item = item
@dry_run = dry_run
end
def unlink_all!
item.unlink_all!(dry_run: dry_run)
end
end