Class: Onebox::Engine::GoogleCalendarOnebox
- Inherits:
-
Object
- Object
- Onebox::Engine::GoogleCalendarOnebox
- Includes:
- Onebox::Engine
- Defined in:
- lib/onebox/engine/google_calendar_onebox.rb
Constant Summary
Constants included from Onebox::Engine
Instance Attribute Summary
Attributes included from Onebox::Engine
Instance Method Summary collapse
Methods included from Onebox::Engine
engines, included, #initialize, #options, #options=, #placeholder_html
Instance Method Details
#to_html ⇒ Object
9 10 11 12 |
# File 'lib/onebox/engine/google_calendar_onebox.rb', line 9 def to_html url = @url.split('&').first "<iframe src='#{url}&rm=minimal' style='border: 0' width='800' height='600' frameborder='0' scrolling='no' ></iframe>" end |