Class: CassetteRack::Engine

Inherits:
Object
  • Object
show all
Defined in:
lib/cassette-rack/engine.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.call(env) ⇒ Object



14
15
16
# File 'lib/cassette-rack/engine.rb', line 14

def call(env)
  prototype.call(env)
end

.prototypeObject



10
11
12
# File 'lib/cassette-rack/engine.rb', line 10

def prototype
  @prototype ||= new
end

Instance Method Details

#call(env) ⇒ Object



5
6
7
# File 'lib/cassette-rack/engine.rb', line 5

def call(env)
  controller(env)
end