truemail-rb/truemail-rack

View on GitHub
app/truemail_server/application.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
# frozen_string_literal: true

module TruemailServer
  class Application
    def self.call(env)
      Rack::Response.new(
        *TruemailServer::Router.call(
          Rack::Request.new(env)
        )
      ).finish
    end
  end
end