Files
adamantium/config/providers/clients.rb

8 lines
286 B
Ruby

Hanami.app.register_provider :clients, namespace: true do
start do
register "mastodon", Adamantium::Client::Mastodon.new
register "blue_sky", Adamantium::Client::BlueSky.new
register "omdb", Adamantium::Client::Omdb.new(api_key: target["settings"].omdb_api_key)
end
end