Class: QuickSearch::SupportCasePresenter
- Inherits:
-
PinPresenter
- Object
- PinPresenter
- QuickSearch::SupportCasePresenter
- Defined in:
- app/presenters/quick_search/support_case_presenter.rb
Overview
Presents a SupportCase as a quick search result / pinned item.
Instance Method Summary collapse
-
#set_attributes ⇒ void
Sets the badge sub-header and link.
Instance Method Details
#set_attributes ⇒ void
This method returns an undefined value.
Sets the badge sub-header and link.
10 11 12 13 |
# File 'app/presenters/quick_search/support_case_presenter.rb', line 10 def set_attributes @sub_header = build_sub_header @link = h.support_case_path(result) end |