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.23.2.b203 lib/acfs/middleware/print.rb
acfs-0.23.2.b200 lib/acfs/middleware/print.rb
acfs-0.23.2.b199 lib/acfs/middleware/print.rb
acfs-0.23.2 lib/acfs/middleware/print.rb
acfs-0.23.1.b198 lib/acfs/middleware/print.rb
acfs-0.23.1 lib/acfs/middleware/print.rb
acfs-0.23.0.b197 lib/acfs/middleware/print.rb
acfs-0.22.2.b196 lib/acfs/middleware/print.rb
acfs-0.23.0 lib/acfs/middleware/print.rb
acfs-0.22.2.b194 lib/acfs/middleware/print.rb
acfs-0.22.2.b193 lib/acfs/middleware/print.rb
acfs-0.22.2 lib/acfs/middleware/print.rb
acfs-0.22.1.b192 lib/acfs/middleware/print.rb
acfs-0.22.1 lib/acfs/middleware/print.rb
acfs-0.22.0.b191 lib/acfs/middleware/print.rb
acfs-0.22.0.b190 lib/acfs/middleware/print.rb
acfs-0.22.0 lib/acfs/middleware/print.rb
acfs-0.21.1.b189 lib/acfs/middleware/print.rb
acfs-0.21.1.rc1.b188 lib/acfs/middleware/print.rb
acfs-0.21.1 lib/acfs/middleware/print.rb