Class: Artisan::Iterations::IterationWorkflowPresenter

Inherits:
Struct
  • Object
show all
Defined in:
lib/artisan/iterations/iteration_workflow_presenter.rb,
lib/artisan/iterations/iteration_workflow_interactor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(iteration_id, project_id) ⇒ IterationWorkflowPresenter

Returns a new instance of IterationWorkflowPresenter.



5
6
7
8
# File 'lib/artisan/iterations/iteration_workflow_presenter.rb', line 5

def initialize(iteration_id, project_id)
  @iteration_id = iteration_id
  @project_id = project_id
end

Instance Attribute Details

#iteration_idObject (readonly)

Returns the value of attribute iteration_id.



4
5
6
# File 'lib/artisan/iterations/iteration_workflow_presenter.rb', line 4

def iteration_id
  @iteration_id
end

#project_idObject (readonly)

Returns the value of attribute project_id.



4
5
6
# File 'lib/artisan/iterations/iteration_workflow_presenter.rb', line 4

def project_id
  @project_id
end