• Fabio Pitino's avatar
    Move domain logic to MergeTrain class · e39ebfd5
    Fabio Pitino authored
    MergeTrains::RefreshMergeRequestService has a lot of domain
    knowledge that belong to MergeTrain model. This refactoring
    makes the model class richer and the service object more
    focused on transactional logic.
    e39ebfd5
merge_train.rb 5.54 KB