Kiss A simpler, smarter web application framework for Ruby

Rack::Recorder Subclass of Object

Methods

Public Class Methods

new(app) source

Not documented

    # File lib/kiss/rack/recorder.rb, line 3
    def initialize(app)
      @app = app
      
      @@filepath ||= begin
        puts "Yo.  Starting app..."
        puts "Would ask you for a test name or recording path here."
        'something'
      end
    end
    

Public Instance Methods

call(env) source

Not documented

    # File lib/kiss/rack/recorder.rb, line 13
    def call(env)
      code, headers, body = @app.call(env)
      
      puts "OK, that was fun."
      puts "Would save some request and response data here."
      
      [ code, headers, body ]
    end
    

Disabled; run with $DEBUG to generate this.