Class: Artifice::Net::RackRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#appObject (readonly)

Returns the value of attribute app.



46
47
48
# File 'lib/artifice.rb', line 46

def app
  @app
end