Sha256: e6147962d0af40ceafeca2e751bd5451ca7919a85dcd478c40a95f7bdf1444da

Contents?: true

Size: 347 Bytes

Versions: 1

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true

require 'racli/handlers/base'

module Racli
  module Handlers
    class DebugHandler < Base
      def call(status, headers, body, _original_args)
        puts '*** debug ***'
        puts status
        puts headers
        puts body
        puts '******'
        [status, headers, body]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
racli-0.1.2 lib/racli/handlers/debug_handler.rb