Sha256: 3b4be5c19332a0467ed3f824f8308d528f6d5b85a5a28a10a8a10e56230ffc4d
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
module Onebox module Engine class ClikThroughOnebox include Engine include OpenGraph matches do http maybe("www.") domain("clikthrough") has(".com").either("/theater", "/video").maybe("/") end private def data { url: @url, title: raw.title, description: raw.description } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
onebox-1.1.0 | lib/onebox/engine/clikthrough_onebox.rb |