Class: Onebox::Engine::TypeformOnebox
- Inherits:
-
Object
- Object
- Onebox::Engine::TypeformOnebox
show all
- Includes:
- Onebox::Engine
- Defined in:
- lib/onebox/engine/typeform_onebox.rb
Constant Summary
DEFAULT
Instance Attribute Summary
#timeout, #uri, #url
Instance Method Summary
collapse
engines, included, #initialize, #options, #options=
Instance Method Details
#placeholder_html ⇒ Object
#to_html ⇒ Object
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
<<~HTML
<iframe src="#{typeform_src}"
width="100%"
height="600px"
scrolling="no"
frameborder="0">
</iframe>
HTML
end
|