class Onebox::Engine::ReplitOnebox
Public Instance Methods
placeholder_html()
click to toggle source
# File lib/onebox/engine/replit_onebox.rb, line 12 def placeholder_html oembed = get_oembed <<-HTML <img src="#{oembed.thumbnail_url}" style="max-width: #{oembed.width}px; max-height: #{oembed.height}px;" #{oembed.title_attr}> HTML end
to_html()
click to toggle source
# File lib/onebox/engine/replit_onebox.rb, line 20 def to_html get_oembed.html end