mastodon/app/models/concerns/fasp/provider/debug_concern.rb
David Roetzel b3c978cecd
First tiny steps towards FASP integration
This is lacking tests (and proper icons), but can talk
to a debug provider.
2025-02-24 14:17:00 +01:00

11 lines
239 B
Ruby

# frozen_string_literal: true
module Fasp::Provider::DebugConcern
extend ActiveSupport::Concern
def perform_debug_call
Fasp::Request.new(self)
.post('/debug/v0/callback/logs', body: { hello: 'world' })
end
end