Class: ProxyApp
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- ProxyApp
- Defined in:
- lib/proxy/proxy_app.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(proxy_manager = ProxyManager.new) ⇒ ProxyApp
constructor
A new instance of ProxyApp.
Constructor Details
#initialize(proxy_manager = ProxyManager.new) ⇒ ProxyApp
Returns a new instance of ProxyApp.
7 8 9 10 |
# File 'lib/proxy/proxy_app.rb', line 7 def initialize(proxy_manager = ProxyManager.new) @proxy_manager = proxy_manager super end |