Class: Onebox::Engine::TypeformOnebox
- Inherits:
-
Object
- Object
- Onebox::Engine::TypeformOnebox
- Includes:
- Onebox::Engine
- Defined in:
- lib/onebox/engine/typeform_onebox.rb
Constant Summary
Constants included from Onebox::Engine
Instance Attribute Summary
Attributes included from Onebox::Engine
Instance Method Summary collapse
- #to_html ⇒ Object (also: #placeholder_html)
Methods included from Onebox::Engine
engines, included, #initialize, #options, #options=
Instance Method Details
#to_html ⇒ Object Also known as: placeholder_html
11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/onebox/engine/typeform_onebox.rb', line 11 def to_html typeform_src = build_typeform_src " <iframe src=\"\#{typeform_src}\"\n width=\"100%\"\n height=\"600px\"\n scrolling=\"no\"\n frameborder=\"0\">\n </iframe>\n HTML\nend\n" |