7 lines
229 B
Ruby
7 lines
229 B
Ruby
Hanami.app.register_provider :clients, namespace: true do
|
|
start do
|
|
register "mastodon", Adamantium::Client::Mastodon.new
|
|
register "omdb", Adamantium::Client::Omdb.new(api_key: target["settings"].omdb_api_key)
|
|
end
|
|
end
|