Class: Onebox::Engine::GoogleDocsOnebox

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

Constant Summary collapse

SUPPORTED_ENDPOINTS =
%w[spreadsheets document forms presentation]
SHORT_TYPES =
{ spreadsheets: :sheets, document: :docs, presentation: :slides, forms: :forms }

Instance Attribute Summary

Attributes included from Onebox::Engine

#errors, #options, #timeout, #uri, #url

Method Summary

Methods included from LayoutSupport

#layout, max_text, #to_html

Methods included from StandardEmbed

add_oembed_provider, add_opengraph_provider, #always_https?, oembed_providers, opengraph_providers, #raw

Methods included from Onebox::Engine

all_iframe_origins, engines, included, #initialize, origins_to_regexes, #placeholder_html, #to_html