Class: Artifice::Excon::RackRequest

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

Instance Method Summary collapse

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

#appObject (readonly)

Returns the value of attribute app.



64
65
66
# File 'lib/artifice/excon.rb', line 64

def app
  @app
end