Class: Artifice::Net::RackRequest
- Inherits:
-
Object
- Object
- Artifice::Net::RackRequest
- Includes:
- Rack::Test::Methods
- Defined in:
- lib/artifice.rb
Overview
This is an internal object that can receive Rack requests to the application using the Rack::Test API
Instance Attribute Summary collapse
-
#app ⇒ Object
readonly
Returns the value of attribute app.
Instance Method Summary collapse
-
#initialize(app) ⇒ RackRequest
constructor
A new instance of RackRequest.
Constructor Details
#initialize(app) ⇒ RackRequest
Returns a new instance of RackRequest.
48 49 50 |
# File 'lib/artifice.rb', line 48 def initialize(app) @app = app end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
46 47 48 |
# File 'lib/artifice.rb', line 46 def app @app end |