Class: Nucleo::Models::FeedTypes::Seo::Page::MetaRobots

Inherits:
Base
  • Object
show all
Defined in:
lib/nucleo/models/feed_types/seo/page/meta_robots.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)


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

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

Instance Method Details

#feed_summaryString

Delegate to the class level feed summary

Returns:

  • (String)


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

def feed_summary
  self.class.feed_summary
end

#headlineString

Returns the headline based on the length of the content

Returns:

  • (String)


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

def headline
  "Meta robot headline"
end

#long_summaryString

Returns the detailed summary

Returns:

  • (String)


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

def long_summary
  "Meta robots long summary"
end

#short_summaryString

Returns the short summary

Returns:

  • (String)


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

def short_summary
  "Meta robots <strong>noindex</strong> will block search engines."
end