Class: Www::ProductCatalogPresenter::DocRecord

Inherits:
Struct
  • Object
show all
Defined in:
app/presenters/www/product_catalog_presenter.rb

Overview

Presenter: doc record.

Instance Attribute Summary collapse

Instance Attribute Details

#category ⇒ Object

Returns the value of attribute category

Returns:

  • (Object) —

    the current value of category



16
17
18
# File 'app/presenters/www/product_catalog_presenter.rb', line 16

def category
  @category
end

#content_url ⇒ Object

Returns the value of attribute content_url

Returns:

  • (Object) —

    the current value of content_url



16
17
18
# File 'app/presenters/www/product_catalog_presenter.rb', line 16

def content_url
  @content_url
end

Returns the value of attribute featured_position

Returns:

  • (Object) —

    the current value of featured_position



16
17
18
# File 'app/presenters/www/product_catalog_presenter.rb', line 16

def featured_position
  @featured_position
end

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



16
17
18
# File 'app/presenters/www/product_catalog_presenter.rb', line 16

def name
  @name
end

#sku ⇒ Object

Returns the value of attribute sku

Returns:

  • (Object) —

    the current value of sku



16
17
18
# File 'app/presenters/www/product_catalog_presenter.rb', line 16

def sku
  @sku
end

#star? ⇒ Object

Returns the value of attribute star?

Returns:

  • (Object) —

    the current value of star?



16
17
18
# File 'app/presenters/www/product_catalog_presenter.rb', line 16

def star?
  @star?
end