Class: Apical::RackAdapter
- Includes:
- Rack::Test::Methods
- Defined in:
- lib/apical/adapters/rack_adapter.rb
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ RackAdapter
constructor
A new instance of RackAdapter.
Methods inherited from Adapter
Constructor Details
#initialize(options = {}) ⇒ RackAdapter
Returns a new instance of RackAdapter.
9 10 11 |
# File 'lib/apical/adapters/rack_adapter.rb', line 9 def initialize(={}) @app = [:app] end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
13 14 15 |
# File 'lib/apical/adapters/rack_adapter.rb', line 13 def app @app end |