Sha256: 1f358e865070e24f88fa855c33d0d2c541f77d50d92e473c428adcea146a8fbd

Contents?: true

Size: 207 Bytes

Versions: 3

Compression:

Stored size: 207 Bytes

Contents

# frozen_string_literal: true

module Articles
  class ShowAction < ApplicationAction
    expose :article

    def perform(id)
      @article = ArticleRepository.new.find_with_comments(id)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
upgrow-0.0.5 test/dummy/app/actions/articles/show_action.rb
upgrow-0.0.4 test/dummy/app/actions/articles/show_action.rb
upgrow-0.0.3 test/dummy/app/actions/articles/show_action.rb