Files
adamantium/config/providers/syndication.rb
2023-02-01 21:13:19 +11:00

7 lines
245 B
Ruby

Hanami.app.register_provider :syndication, namespace: true do
start do
register "mastodon", Adamantium::Syndication::Mastodon.new
register "pinboard", Adamantium::Syndication::Pinboard.new(api_key: settings.pinboard_api_key)
end
end