Class: QuickSearch::RmaPresenter

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

Overview

Presents an RMA 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 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