This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/lib/onebox/engine/flickr_shortened_onebox.rb
2023-01-09 12:10:19 +00:00

17 lines
295 B
Ruby

# 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