Class: Artifice::Excon::RackRequest
- Inherits:
-
Object
- Object
- Artifice::Excon::RackRequest
- Includes:
- Rack::Test::Methods
- Defined in:
- lib/artifice/excon.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.
66 67 68 |
# File 'lib/artifice/excon.rb', line 66 def initialize(app) @app = app end |
Instance Attribute Details
#app ⇒ Object (readonly)
Returns the value of attribute app.
64 65 66 |
# File 'lib/artifice/excon.rb', line 64 def app @app end |