Sha256: 3e9d19bf3821eef9452d01203e827dd436ca38dd01fadea784a74288b86408f1

Contents?: true

Size: 428 Bytes

Versions: 3

Compression:

Stored size: 428 Bytes

Contents

# frozen_string_literal: true

require_relative '../../models/project'
require_relative '../base_presenter_ex'

module Dsu
  module Presenters
    module Project
      class ListPresenter < BasePresenterEx
        def initialize(options: {})
          super
        end

        def projects
          @projects ||= Dsu::Models::Project.all
        end

        private

        attr_reader :options
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dsu-3.0.5 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.4 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.3 lib/dsu/presenters/project/list_presenter.rb