Class: LinkThumbnailer::Scrapers::Opengraph::Video

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

Defined Under Namespace

Classes: Base, Height, Url, Width

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



8
9
10
11
# File 'lib/link_thumbnailer/scrapers/opengraph/video.rb', line 8

def value
  ::LinkThumbnailer::Scrapers::Opengraph::Video::Base.new(document, website).value +
  ::LinkThumbnailer::Scrapers::Opengraph::Video::Url.new(document, website).value
end