Sha256: dbc9738dbeedad04a2a703ae521944401797342ee70b80f2c5284cb8f6ca13d4

Contents?: true

Size: 346 Bytes

Versions: 129

Compression:

Stored size: 346 Bytes

Contents

module Acfs
  module Middleware

    # Print resquests and response on terminal
    #
    class Print < Base

      def call(req)
        puts '-' * 80
        puts req.inspect
        puts '-' * 80

        super
      end

      def response(res)
        puts '-' * 80
        puts res.inspect
        puts '-' * 80
      end
    end
  end
end

Version data entries

129 entries across 129 versions & 1 rubygems

Version Path
acfs-0.42.0 lib/acfs/middleware/print.rb
acfs-0.41.1 lib/acfs/middleware/print.rb
acfs-0.41.1.beta1 lib/acfs/middleware/print.rb
acfs-0.41.0 lib/acfs/middleware/print.rb
acfs-0.40.1.rc1 lib/acfs/middleware/print.rb
acfs-0.40.0 lib/acfs/middleware/print.rb
acfs-0.39.1 lib/acfs/middleware/print.rb
acfs-0.39.0 lib/acfs/middleware/print.rb
acfs-1.0.0.dev.1.b305 lib/acfs/middleware/print.rb
acfs-0.38.0 lib/acfs/middleware/print.rb
acfs-1.0.0.dev.1.b298 lib/acfs/middleware/print.rb
acfs-1.0.0.dev.1.b297 lib/acfs/middleware/print.rb
acfs-0.37.0.1.b295 lib/acfs/middleware/print.rb
acfs-0.37.0 lib/acfs/middleware/print.rb
acfs-0.36.0.1.b293 lib/acfs/middleware/print.rb
acfs-0.36.0 lib/acfs/middleware/print.rb
acfs-0.35.0.1.b291 lib/acfs/middleware/print.rb
acfs-0.35.0 lib/acfs/middleware/print.rb
acfs-0.34.1.1.b289 lib/acfs/middleware/print.rb
acfs-0.34.1 lib/acfs/middleware/print.rb