lib/link_thumbnailer/scrapers/opengraph/videos.rb in link_thumbnailer-2.4.0 vs lib/link_thumbnailer/scrapers/opengraph/videos.rb in link_thumbnailer-2.5.0
- old
+ new
@@ -4,11 +4,11 @@
module LinkThumbnailer
module Scrapers
module Opengraph
class Videos < ::LinkThumbnailer::Scrapers::Opengraph::Base
- def call(website, attribute_name)
- ::LinkThumbnailer::Scrapers::Opengraph::Video.new(document).call(website, 'video')
+ def call(attribute_name)
+ ::LinkThumbnailer::Scrapers::Opengraph::Video.new(document, website).call('video')
end
end
end
end