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

#categoryObject

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_urlObject

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

#nameObject

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

#skuObject

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