Files
adamantium/config/providers/param_parser.rb

9 lines
250 B
Ruby

# frozen_string_literal: true
Hanami.app.register_provider :param_parser, namespace: true do
start do
register "micropub_post", Adamantium::MicropubRequestParser.new
register "webmention", Adamantium::WebmentionRequestParser.new
end
end