# frozen_string_literal: true module Onebox module Engine class SteamStoreOnebox include Engine include StandardEmbed matches_domain("store.steampowered.com") always_https requires_iframe_origins "https://store.steampowered.com" def self.matches_path(path) path.match?(%r{^/app/\d+$}) end def placeholder_html og = get_opengraph <<-HTML
#{og.description}