Refactor syndication clients for testability

This commit is contained in:
2023-02-08 21:41:29 +11:00
parent 811affc9b3
commit f704340577
4 changed files with 17 additions and 59 deletions

View File

@@ -0,0 +1,5 @@
Hanami.app.register_provider :clients, namespace: true do
start do
register "mastodon", Adamantium::Client::Mastodon.new
end
end