diff --git a/lib/telegram/bot/async.rb b/lib/telegram/bot/async.rb index f97d862..10bddbc 100644 --- a/lib/telegram/bot/async.rb +++ b/lib/telegram/bot/async.rb @@ -116,7 +116,7 @@ module Telegram attr_reader :id - def initialize(*, id: nil, async: nil, **) + def initialize(*, id: nil, async: nil, **options) @id = id self.async = async super diff --git a/lib/telegram/bot/botan/client_helpers.rb b/lib/telegram/bot/botan/client_helpers.rb index b88efa1..1f889a9 100644 --- a/lib/telegram/bot/botan/client_helpers.rb +++ b/lib/telegram/bot/botan/client_helpers.rb @@ -5,7 +5,7 @@ module Telegram module ClientHelpers attr_reader :botan - def initialize(*, botan: nil, **) + def initialize(*, botan: nil, **options) super @botan = Botan.wrap(botan, id: id) if botan end