Sha256: 9ef156304fa62b6b8ac5150e6e0fe141434f9cddf7c5e531d899361df712b7db
Contents?: true
Size: 387 Bytes
Versions: 32
Compression:
Stored size: 387 Bytes
Contents
require 'telegram/bot/botan/api' module Telegram module Bot module Botan attr_reader :botan def enable_botan!(token) @botan ||= Botan::Api.new(token) end def track(*args) botan.track(*args) if defined?(botan) end end end end if defined?(Telegram::Bot::Client) Telegram::Bot::Client.send(:include, Telegram::Bot::Botan) end
Version data entries
32 entries across 32 versions & 1 rubygems