Class: QuickSearch::SupportCasePresenter

Inherits:
PinPresenter
  • Object
show all
Defined in:
app/presenters/quick_search/support_case_presenter.rb

Overview

Presents a SupportCase as a quick search result / pinned item.

See Also:

Instance Method Summary collapse

Instance Method Details

#set_attributesvoid

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