Class: Onebox::Engine::TwitterStatusOnebox
- Inherits:
-
Object
- Object
- Onebox::Engine::TwitterStatusOnebox
- Includes:
- Onebox::Engine, HTML, LayoutSupport
- Defined in:
- lib/onebox/engine/twitter_status_onebox.rb
Constant Summary
Constants included from Onebox::Engine
Instance Attribute Summary
Attributes included from Onebox::Engine
#errors, #options, #timeout, #uri, #url
Instance Method Summary collapse
Methods included from LayoutSupport
Methods included from Onebox::Engine
all_iframe_origins, engines, included, #initialize, origins_to_regexes, #placeholder_html, #to_html
Instance Method Details
#http_params ⇒ Object
13 14 15 |
# File 'lib/onebox/engine/twitter_status_onebox.rb', line 13 def http_params { 'User-Agent' => 'DiscourseBot/1.0' } end |