Class: Nucleo::Models::FeedTypes::Seo::Page::MetaDescription

Inherits:
Base
  • Object
show all
Defined in:
lib/nucleo/models/feed_types/seo/page/meta_description.rb

Class Method Summary collapse

Instance Method Summary collapse

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_summaryString

Returns the class level feed summary title

Returns:

  • (String)


12
13
14
# File 'lib/nucleo/models/feed_types/seo/page/meta_description.rb', line 12

def self.feed_summary
  "<strong>Meta Description</strong> feed summary"
end

Instance Method Details

#feed_summaryString

Delegate to the class level feed summary

Returns:

  • (String)


19
20
21
# File 'lib/nucleo/models/feed_types/seo/page/meta_description.rb', line 19

def feed_summary
  self.class.feed_summary
end

#headlineString

Returns the headline based on the length of the content

Returns:

  • (String)


26
27
28
# File 'lib/nucleo/models/feed_types/seo/page/meta_description.rb', line 26

def headline
  "Meta description headline"
end

#long_summaryString

Returns the detailed summary

Returns:

  • (String)


33
34
35
# File 'lib/nucleo/models/feed_types/seo/page/meta_description.rb', line 33

def long_summary
  "Meta descriptions long summary"
end

#short_summaryString

Returns the short summary

Returns:

  • (String)


40
41
42
# File 'lib/nucleo/models/feed_types/seo/page/meta_description.rb', line 40

def short_summary
  "Meta descriptions improve how your site looks in search results."
end