Class: Search::LocatorRecordTextPresenter

Inherits:
LocatorRecordPresenter
  • Object
show all
Defined in:
app/presenters/search/locator_record_text_presenter.rb

Overview

Plain-text presenter for locator-record search results backed by ViewLocatorRecord.

Delegated Instance Attributes collapse

Instance Method Summary collapse

Instance Method Details

Returns the customer name and number as plain text.

Returns:

  • (String)


11
12
13
# File 'app/presenters/search/locator_record_text_presenter.rb', line 11

def customer_link
  "#{r.customer_name} (CN#{r.customer_id})"
end

#star_status_levelObject

Alias for R#star_status_level

Returns:

  • (Object)

    R#star_status_level

See Also:



18
# File 'app/presenters/search/locator_record_text_presenter.rb', line 18

delegate :star_status_level, to: :r