Class: Search::SupportCaseTextPresenter
- Inherits:
-
SupportCasePresenter
- Object
- SupportCasePresenter
- Search::SupportCaseTextPresenter
- Defined in:
- app/presenters/search/support_case_text_presenter.rb
Instance Method Summary collapse
Instance Method Details
#participants ⇒ Object
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 |
#rooms ⇒ Object
11 12 13 |
# File 'app/presenters/search/support_case_text_presenter.rb', line 11 def rooms r.room_configurations.map(&:reference_number).join('; ') end |
#support_case_link ⇒ Object
3 4 5 |
# File 'app/presenters/search/support_case_text_presenter.rb', line 3 def support_case_link r.case_number end |