Migrate ToCsv module to CsvGenerator service

This commit is contained in:
Thiago Youssef 2022-04-01 10:59:04 +03:00
parent daafa756aa
commit e50501f13f
16 changed files with 34 additions and 60 deletions

View file

@ -1,6 +1,5 @@
class BlockedDomain < ApplicationRecord
include Versions
extend ToCsv
before_save :generate_data
after_destroy :remove_data