Class: Onebox::Engine::GithubFolderOnebox

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

Constant Summary

Constants included from Onebox::Engine

DEFAULT

Instance Attribute Summary

Attributes included from Onebox::Engine

#errors, #timeout, #uri, #url

Class Method Summary collapse

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, #options, #options=, origins_to_regexes, #placeholder_html, #to_html

Class Method Details

.priorityObject



13
14
15
16
# File 'lib/onebox/engine/github_folder_onebox.rb', line 13

def self.priority
  # This engine should have lower priority than the other Github engines
  150
end