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