module Onebox module Engine class GiphyOnebox include Engine include StandardEmbed matches_regexp(/^https?:\/\/(giphy\.com\/gifs|gph\.is)\//) always_https def to_html oembed = get_oembed escaped_url = ::Onebox::Helpers.normalize_url_for_output(oembed[:url]) <<-HTML HTML end end end end