iachat/lib/middleware/fazer_ai_platform_header.rb
2026-03-03 14:08:56 -03:00

14 lines
247 B
Ruby

# frozen_string_literal: true
class FazerAiPlatformHeader
def initialize(app)
@app = app
end
def call(env)
status, headers, response = @app.call(env)
headers['X-Platform'] = 'fazer.ai'
[status, headers, response]
end
end