1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-04 02:05:52 +03:00

Deprecate telegram_webhooks in favor of telegram_webhook

Этот коммит содержится в:
Max Melentiev
2018-02-02 10:38:18 +03:00
родитель 06253c940e
Коммит 88c8d4fd4e
6 изменённых файлов: 100 добавлений и 29 удалений

Просмотреть файл

@@ -12,6 +12,15 @@ module Telegram
# Raised for valid telegram response with 404 status code.
class NotFound < Error; end
module_function
def deprecation_0_14
@deprecation ||= begin
require 'active_support/deprecation'
ActiveSupport::Deprecation.new('0.14', 'Telegram::Bot')
end
end
autoload :Async, 'telegram/bot/async'
autoload :Botan, 'telegram/bot/botan'
autoload :Client, 'telegram/bot/client'