|
def extract(extractor) do |
Usually it is a good idea to split that giant function into smaller pieces.
Pieces like these:
|
case SnapshotExtractor.update_extractor_status(extractor.id, %{status: 1}) do |
They exist only for side effects and will form nice separate functions.
extractor/lib/snapshot/snap_extractor.ex
Line 4 in d4318c6
Usually it is a good idea to split that giant function into smaller pieces.
Pieces like these:
extractor/lib/snapshot/snap_extractor.ex
Line 36 in d4318c6
They exist only for side effects and will form nice separate functions.