Syndicate code posts to Github Gists
This commit is contained in:
@@ -3,5 +3,6 @@ Hanami.app.register_provider :clients, namespace: true 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)
|
||||
register "gist", Adamantium::Client::Gist.new(token: target["settings"].gist_client_token)
|
||||
end
|
||||
end
|
||||
|
@@ -1,6 +1,7 @@
|
||||
Hanami.app.register_provider :syndication, namespace: true do
|
||||
start do
|
||||
register "mastodon", Adamantium::Syndication::Mastodon.new
|
||||
register "gist", Adamantium::Syndication::Gist.new
|
||||
register "blue_sky", Adamantium::Syndication::BlueSky.new
|
||||
register "raindrop", Adamantium::Syndication::Raindrop.new(api_key: "Bearer #{target["settings"].raindrop_api_key}")
|
||||
register "dayone", Adamantium::Syndication::Dayone.new(
|
||||
|
Reference in New Issue
Block a user