Class: Onebox::Engine::StackExchangeOnebox

Inherits:
Object
  • Object
show all
Includes:
Onebox::Engine, JSON, LayoutSupport
Defined in:
lib/onebox/engine/stack_exchange_onebox.rb

Instance Attribute Summary

Attributes included from Onebox::Engine

#cache, #timeout

Class Method Summary collapse

Methods included from LayoutSupport

#layout, max_text, #to_html

Methods included from Onebox::Engine

engines, included, #initialize, #placeholder_html, #to_html

Class Method Details

.domainsObject



8
9
10
# File 'lib/onebox/engine/stack_exchange_onebox.rb', line 8

def self.domains
  %w(stackexchange stackoverflow superuser serverfault askubuntu)
end