Class: LinkThumbnailer::Scrapers::Opengraph::Image::Height

Inherits:
Base
  • Object
show all
Defined in:
lib/link_thumbnailer/scrapers/opengraph/image.rb

Overview

Handles ‘og:image:height` attributes.

Instance Attribute Summary

Attributes inherited from Base

#attribute_name, #config, #document, #website

Instance Method Summary collapse

Methods inherited from Base

#applicable?

Methods inherited from Base

#applicable?, #call, #initialize

Constructor Details

This class inherits a constructor from LinkThumbnailer::Scrapers::Base

Instance Method Details

#valueObject



92
93
94
# File 'lib/link_thumbnailer/scrapers/opengraph/image.rb', line 92

def value
  node.attributes['content'].to_s if node
end