Class: SiteSearchResultDrop

Inherits:
Liquid::Simplero::Drop show all
Defined in:
app/drops/site_search_result_drop.rb

Overview

Represents an individual search result in a SiteSearchResultSetDrop.

Instance Method Summary collapse

Methods inherited from Liquid::Simplero::Drop

#dom_id

Instance Method Details

#body ⇒ String

Returns:

  • (String)

Breadcrumbs for the result. For CourseLessonDrops, this will be the CourseDrop and CourseModuleDrop's names.

Returns:

  • (String)

#highlighted_body ⇒ String

Body with text matching the query highlighted.

Returns:

  • (String)

#highlighted_title ⇒ String

Title with text matching the query highlighted.

Returns:

  • (String)

#media_duration ⇒ String

Duration (in seconds) of the associated media.

Returns:

  • (String)

#title ⇒ String

Returns:

  • (String)

#type ⇒ String

Type of item for the result (BlogPostDrop, etc.)

Returns:

  • (String)

#url ⇒ String

Returns:

  • (String)