Class: Dsu::Presenters::Project::ListPresenter

Inherits:
BasePresenterEx show all
Defined in:
lib/dsu/presenters/project/list_presenter.rb

Instance Method Summary collapse

Constructor Details

#initialize(options: {}) ⇒ ListPresenter

Returns a new instance of ListPresenter.



10
11
12
# File 'lib/dsu/presenters/project/list_presenter.rb', line 10

def initialize(options: {})
  super
end

Instance Method Details

#projectsObject



14
15
16
# File 'lib/dsu/presenters/project/list_presenter.rb', line 14

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