Class: Hanami::Configuration::App Private
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Hanami::Configuration::App
- Defined in:
- lib/hanami/configuration/app.rb
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Instance Attribute Summary collapse
- #host ⇒ Object readonly private
- #path_prefix ⇒ Object readonly private
Instance Method Summary collapse
-
#initialize(app, options = {}) ⇒ App
constructor
private
A new instance of App.
Constructor Details
#initialize(app, options = {}) ⇒ App
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of App.
14 15 16 17 18 |
# File 'lib/hanami/configuration/app.rb', line 14 def initialize(app, = {}) super(app) @path_prefix = [:at] @host = [:host] end |
Instance Attribute Details
#host ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
11 12 13 |
# File 'lib/hanami/configuration/app.rb', line 11 def host @host end |
#path_prefix ⇒ Object (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
9 10 11 |
# File 'lib/hanami/configuration/app.rb', line 9 def path_prefix @path_prefix end |