Class: PuppetForgeServer::App::Frontend
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- PuppetForgeServer::App::Frontend
- Includes:
- Utils::MarkdownRenderer
- Defined in:
- lib/puppet_forge_server/app/frontend.rb
Instance Method Summary collapse
-
#initialize(root, http_client = PuppetForgeServer::Http::HttpClient.new) ⇒ Frontend
constructor
A new instance of Frontend.
Methods included from Utils::MarkdownRenderer
Constructor Details
#initialize(root, http_client = PuppetForgeServer::Http::HttpClient.new) ⇒ Frontend
Returns a new instance of Frontend.
36 37 38 39 40 |
# File 'lib/puppet_forge_server/app/frontend.rb', line 36 def initialize(root, http_client = PuppetForgeServer::Http::HttpClient.new) super(nil) settings.root = root @http_client = http_client end |