Class: Workarea::Metadata::HomePage
- Inherits:
-
Workarea::Metadata
- Object
- Workarea::Metadata
- Workarea::Metadata::HomePage
- Defined in:
- app/queries/workarea/metadata/home_page.rb
Instance Attribute Summary
Attributes inherited from Workarea::Metadata
Instance Method Summary collapse
-
#description ⇒ String
Provides a default value for use as the html content meta tag for the home page using the top selling menus.
-
#title ⇒ String
Provides a default value for use as the html page title of the home page using the top selling menus.
Methods inherited from Workarea::Metadata
automation_klass, #initialize, model_name, update, #update
Constructor Details
This class inherits a constructor from Workarea::Metadata
Instance Method Details
#description ⇒ String
Provides a default value for use as the html content meta tag for the home page using the top selling menus
27 28 29 30 31 32 33 34 35 |
# File 'app/queries/workarea/metadata/home_page.rb', line 27 def description [ I18n.t( 'workarea.metadata.shop_selection', name: Workarea.config.site_name ), .map(&:name).to_sentence ].join(' ') end |