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