Class: Onebox::Engine::GithubCommitOnebox
- Inherits:
-
Object
- Object
- Onebox::Engine::GithubCommitOnebox
- Includes:
- Onebox::Engine, JSON, LayoutSupport
- Defined in:
- lib/onebox/engine/github_commit_onebox.rb
Constant Summary
Constants included from Onebox::Engine
Instance Attribute Summary
Attributes included from Onebox::Engine
Instance Method Summary collapse
Methods included from LayoutSupport
Methods included from Onebox::Engine
all_iframe_origins, engines, included, #initialize, #options, #options=, origins_to_regexes, #placeholder_html, #to_html
Instance Method Details
#url ⇒ Object
13 14 15 |
# File 'lib/onebox/engine/github_commit_onebox.rb', line 13 def url "https://api.github.com/repos/#{match[:owner]}/#{match[:repository]}/commits/#{match[:sha]}" end |