Class: Search::SupportCaseTextPresenter

Inherits:
SupportCasePresenter
  • Object
show all
Defined in:
app/presenters/search/support_case_text_presenter.rb

Instance Method Summary collapse

Instance Method Details

#participantsObject



7
8
9
# File 'app/presenters/search/support_case_text_presenter.rb', line 7

def participants
  r.support_case_participants.select(&:party).map{|scp| scp.party.full_name}.join('; ')
end

#roomsObject



11
12
13
# File 'app/presenters/search/support_case_text_presenter.rb', line 11

def rooms
  r.room_configurations.map(&:reference_number).join('; ')
end


3
4
5
# File 'app/presenters/search/support_case_text_presenter.rb', line 3

def support_case_link
  r.case_number
end