зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-04 02:05:52 +03:00
Moved Botan helpers to its namespace
Этот коммит содержится в:
@@ -3,6 +3,7 @@ module Telegram
|
||||
class Botan
|
||||
TRACK_URI = 'https://api.botan.io/track'.freeze
|
||||
|
||||
autoload :ControllerHelpers, 'telegram/bot/botan/controller_helpers'
|
||||
class Error < Bot::Error; end
|
||||
|
||||
include DebugClient
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
module Telegram
|
||||
module Bot
|
||||
class UpdatesController
|
||||
class Botan
|
||||
# Helpers for botan.io metrics.
|
||||
module Botan
|
||||
module ControllerHelpers
|
||||
class MissingFrom < Error; end
|
||||
|
||||
protected
|
||||
@@ -59,7 +59,6 @@ module Telegram
|
||||
require 'telegram/bot/updates_controller/reply_helpers'
|
||||
autoload :CallbackQueyContext, 'telegram/bot/updates_controller/callback_query_context'
|
||||
autoload :MessageContext, 'telegram/bot/updates_controller/message_context'
|
||||
autoload :Botan, 'telegram/bot/updates_controller/botan'
|
||||
|
||||
include AbstractController::Callbacks
|
||||
# Redefine callbacks with default terminator.
|
||||
|
||||
Ссылка в новой задаче
Block a user