Sha256: e8bacfe1dc9ee106b6f1654d74af3563afb4ae272c52c8f8e0db86b83ea7288f

Contents?: true

Size: 446 Bytes

Versions: 19

Compression:

Stored size: 446 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(options: options)
        end

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

        private

        attr_reader :options
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
dsu-3.0.1 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.beta.3 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.beta.2 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.beta.1 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.beta.0 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.12 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.11 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.10 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.9 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.8 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.7 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.6 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.5 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.4 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.3 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.2 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.1 lib/dsu/presenters/project/list_presenter.rb
dsu-3.0.0.alpha.0 lib/dsu/presenters/project/list_presenter.rb