Sha256: 7a70d4cedd13843b05ccb63c9f952fb0b4a21399e32e6f7600195fe3e00cc044
Contents?: true
Size: 528 Bytes
Versions: 10
Compression:
Stored size: 528 Bytes
Contents
module Arpa module Services module Actions module Remove class ActionRemover def remove_nonexistent_actions(params) params[:resource].actions.each do |action| exist = params[:actions_names].include?(action.name) remover_repo.destroy(action) unless exist end end private def remover_repo @remover_repo ||= Arpa::Repositories::Actions::Remover.new end end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems