discourse/lib/onebox/engine/flickr_shortened_onebox.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
295 B
Ruby
Raw Permalink Normal View History

# frozen_string_literal: true
require_relative "./opengraph_image"
module Onebox
module Engine
class FlickrShortenedOnebox
include Engine
include StandardEmbed
include OpengraphImage
matches_regexp(%r{^https?://flic\.kr/p/})
always_https
end
end
end