Class: Workarea::Search::Storefront::Page
Instance Method Summary
collapse
#active_segment_ids, #as_document, #cache, ensure_dynamic_mappings, ensure_product_mappings, #facets, #id, #keywords, #numeric, #release_id, #sorts, #suggestion_content, #type
all, #as_bulk_document, #as_document, current_index_prefix, #destroy, #initialize, #save
Instance Method Details
#active ⇒ Object
13
14
15
|
# File 'app/models/workarea/search/storefront/page.rb', line 13
def active
{ now: model.active? }
end
|
#content ⇒ Object
5
6
7
|
# File 'app/models/workarea/search/storefront/page.rb', line 5
def content
{ name: model.name }
end
|
#slug ⇒ Object
9
10
11
|
# File 'app/models/workarea/search/storefront/page.rb', line 9
def slug
model.slug
end
|