Class: Perkins::AppProxy
Constant Summary collapse
- APP_ATTRIBUTES =
[:host, :port, :redis, :github_client_secret, :github_client_id ]
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
Instance Method Summary collapse
- #config(&block) ⇒ Object
-
#initialize(options) ⇒ AppProxy
constructor
A new instance of AppProxy.
- #server=(opts = {}) ⇒ Object
Constructor Details
#initialize(options) ⇒ AppProxy
Returns a new instance of AppProxy.
9 10 11 |
# File 'lib/perkins/dsl/app_proxy.rb', line 9 def initialize() @app = Application.new() end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
7 8 9 |
# File 'lib/perkins/dsl/app_proxy.rb', line 7 def app @app end |
Instance Method Details
#config(&block) ⇒ Object
18 19 20 |
# File 'lib/perkins/dsl/app_proxy.rb', line 18 def config(&block) @app.instance_eval &block end |