Class: Search::ProductCatalogTextPresenter
- Inherits:
-
ProductCatalogPresenter
- Object
- ProductCatalogPresenter
- Search::ProductCatalogTextPresenter
- Defined in:
- app/presenters/search/product_catalog_text_presenter.rb
Overview
Presenter: product catalog text presenter.
Delegated Instance Attributes collapse
-
#effective_price ⇒ Object
Alias for R#effective_price.
-
#effective_price_with_vat ⇒ Object
Alias for R#effective_price_with_vat.
-
#item_sku ⇒ Object
Alias for R#item_sku.
-
#price ⇒ Object
Alias for R#price.
-
#price_difference_factor ⇒ Object
Alias for R#price_difference_factor.
-
#price_with_vat ⇒ Object
Alias for R#price_with_vat.
-
#retail_price ⇒ Object
Alias for R#retail_price.
-
#sale_price ⇒ Object
Alias for R#sale_price.
-
#sale_price_with_vat ⇒ Object
Alias for R#sale_price_with_vat.
Instance Method Summary collapse
Instance Method Details
#catalog ⇒ Object
6 7 8 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 6 def catalog r.catalog_name end |
#effective_price ⇒ Object
Alias for R#effective_price
22 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 22 delegate :effective_price, to: :r |
#effective_price_with_vat ⇒ Object
Alias for R#effective_price_with_vat
28 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 28 delegate :effective_price_with_vat, to: :r |
#item_sku ⇒ Object
Alias for R#item_sku
4 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 4 delegate :item_sku, to: :r |
#parent_catalog_item ⇒ Object
10 11 12 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 10 def parent_catalog_item r.parent_catalog_name end |
#price ⇒ Object
Alias for R#price
16 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 16 delegate :price, to: :r |
#price_difference_factor ⇒ Object
Alias for R#price_difference_factor
14 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 14 delegate :price_difference_factor, to: :r |
#price_with_vat ⇒ Object
Alias for R#price_with_vat
24 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 24 delegate :price_with_vat, to: :r |
#retail_price ⇒ Object
Alias for R#retail_price
18 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 18 delegate :retail_price, to: :r |
#sale_price ⇒ Object
Alias for R#sale_price
20 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 20 delegate :sale_price, to: :r |
#sale_price_with_vat ⇒ Object
Alias for R#sale_price_with_vat
26 |
# File 'app/presenters/search/product_catalog_text_presenter.rb', line 26 delegate :sale_price_with_vat, to: :r |