Class: Nucleo::Models::FeedTypes::Seo::Page::PageTitle
- Defined in:
- lib/nucleo/models/feed_types/seo/page/page_title.rb
Class Method Summary collapse
-
.feed_summary ⇒ String
Returns the class level feed summary title.
Instance Method Summary collapse
-
#feed_summary ⇒ String
Delegate to the class level feed summary.
-
#headline ⇒ String
Returns the headline based on the length of the content.
-
#long_summary ⇒ String
Returns the detailed summary.
-
#short_summary ⇒ String
Returns the short summary.
Methods inherited from Base
#check_count, #checks, #element, #element_content, #element_content?, #find_content, #points
Methods inherited from Base
#<=>, #analytics_category?, #category, #children, #children?, #context, #executed_at, #id, #initialize, #page, #page?, #page_context?, #page_recommendation_id, #record_id, #seo_category?, #site_analytic_id, #site_context?, #site_id, #status, #type
Constructor Details
This class inherits a constructor from Nucleo::Models::FeedTypes::Base
Class Method Details
.feed_summary ⇒ String
Returns the class level feed summary title
11 12 13 |
# File 'lib/nucleo/models/feed_types/seo/page/page_title.rb', line 11 def self.feed_summary "<strong>page title</strong> feed summary" end |
Instance Method Details
#feed_summary ⇒ String
Delegate to the class level feed summary
18 19 20 |
# File 'lib/nucleo/models/feed_types/seo/page/page_title.rb', line 18 def feed_summary self.class.feed_summary end |
#headline ⇒ String
Returns the headline based on the length of the content
25 26 27 |
# File 'lib/nucleo/models/feed_types/seo/page/page_title.rb', line 25 def headline "page title headline" end |
#long_summary ⇒ String
Returns the detailed summary
32 33 34 |
# File 'lib/nucleo/models/feed_types/seo/page/page_title.rb', line 32 def long_summary "page titles long summary" end |
#short_summary ⇒ String
Returns the short summary
39 40 41 |
# File 'lib/nucleo/models/feed_types/seo/page/page_title.rb', line 39 def short_summary "Page titles are customers first impression in search results." end |