Class: Search::ProductCatalogTextPresenter
- Inherits:
-
ProductCatalogPresenter
- Object
- ProductCatalogPresenter
- Search::ProductCatalogTextPresenter
- Defined in:
- app/presenters/search/product_catalog_text_presenter.rb
Instance Method Summary collapse
- #catalog ⇒ Object
- #effective_price ⇒ Object
- #effective_price_with_vat ⇒ Object
- #item_sku ⇒ Object
- #parent_catalog_item ⇒ Object
- #price ⇒ Object
- #price_difference_factor ⇒ Object
- #price_with_vat ⇒ Object
- #retail_price ⇒ Object
- #sale_price ⇒ Object
- #sale_price_with_vat ⇒ Object
Instance Method Details
#catalog ⇒ Object
7 8 9 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 7 def catalog r.catalog_name end |
#effective_price ⇒ Object
31 32 33 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 31 def effective_price r.effective_price end |
#effective_price_with_vat ⇒ Object
43 44 45 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 43 def effective_price_with_vat r.effective_price_with_vat end |
#item_sku ⇒ Object
3 4 5 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 3 def item_sku r.item_sku end |
#parent_catalog_item ⇒ Object
11 12 13 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 11 def parent_catalog_item r.parent_catalog_name end |
#price ⇒ Object
19 20 21 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 19 def price r.price end |
#price_difference_factor ⇒ Object
15 16 17 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 15 def price_difference_factor r.price_difference_factor end |
#price_with_vat ⇒ Object
35 36 37 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 35 def price_with_vat r.price_with_vat end |
#retail_price ⇒ Object
23 24 25 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 23 def retail_price r.retail_price end |
#sale_price ⇒ Object
27 28 29 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 27 def sale_price r.sale_price end |
#sale_price_with_vat ⇒ Object
39 40 41 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 39 def sale_price_with_vat r.sale_price_with_vat end |