Sha256: 8cced3603a8d6349ca7930dd73d4ece84d026f6e1441e6de484366ad13aebcda

Contents?: true

Size: 166 Bytes

Versions: 3

Compression:

Stored size: 166 Bytes

Contents

# frozen_string_literal: true

module Comments
  class DestroyAction < ApplicationAction
    def perform(id)
      CommentRepository.new.delete(id)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
upgrow-0.0.5 test/dummy/app/actions/comments/destroy_action.rb
upgrow-0.0.4 test/dummy/app/actions/comments/destroy_action.rb
upgrow-0.0.3 test/dummy/app/actions/comments/destroy_action.rb