Sha256: 5ffb7250d401251ffe882a1c3d08abd5410e1bc76fddfde5604db143e48f480a
Contents?: true
Size: 398 Bytes
Versions: 1
Compression:
Stored size: 398 Bytes
Contents
module Onebox module Engine class FlickrOnebox include Engine include OpenGraph matches do http domain("flickr") has(".com").maybe("/") end private def data { url: @url, title: raw.title, image: raw.images.first, 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/flickr_onebox.rb |