Module: TelegramBotApi::Requests::Base
- Included in:
- SendMessage, SetWebhook
- Defined in:
- lib/telegram_bot_api/requests/base.rb
Defined Under Namespace
Modules: ClassMethods, InstanceMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
5 6 7 8 9 |
# File 'lib/telegram_bot_api/requests/base.rb', line 5 def self.included(base) base.include InstanceMethods base.extend ClassMethods base.class_eval { attr_accessor *self.all_arguments } end |