class Nucleo::Models::FeedTypes::Seo::Page::Base

Public Instance Methods

check_count() click to toggle source
# File lib/nucleo/models/feed_types/seo/page/base.rb, line 18
def check_count
  checks.count
end
checks() click to toggle source

Returns the checks

@return [Array]

# File lib/nucleo/models/feed_types/seo/page/base.rb, line 14
def checks
  Nucleo::Models::Checks.new(data.fetch('checks',[]))
end
element() click to toggle source
# File lib/nucleo/models/feed_types/seo/page/base.rb, line 22
def element
  Nucleo::Models::Element.new(data.fetch('element',{}))
end
element_content() click to toggle source
# File lib/nucleo/models/feed_types/seo/page/base.rb, line 26
def element_content
  self.element.content
end
element_content?() click to toggle source
# File lib/nucleo/models/feed_types/seo/page/base.rb, line 30
def element_content?
  self.element_content.present?
end
find_content() click to toggle source
# File lib/nucleo/models/feed_types/seo/page/base.rb, line 38
def find_content
  self.checks.find_content
end
points() click to toggle source
# File lib/nucleo/models/feed_types/seo/page/base.rb, line 34
def points
  data.fetch('points', 0).to_i
end