Refactor syndication clients for testability
This commit is contained in:
5
config/providers/clients.rb
Normal file
5
config/providers/clients.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
Hanami.app.register_provider :clients, namespace: true do
|
||||
start do
|
||||
register "mastodon", Adamantium::Client::Mastodon.new
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user