Class: Telegram::Controller
- Inherits:
-
Object
- Object
- Telegram::Controller
- Defined in:
- lib/telegram/controller.rb
Instance Method Summary collapse
- #bot_name=(name) ⇒ Object
- #bots=(adapters) ⇒ Object
- #explicit_response? ⇒ Boolean
- #message=(payload) ⇒ Object
Instance Method Details
#bot_name=(name) ⇒ Object
13 14 15 |
# File 'lib/telegram/controller.rb', line 13 def bot_name= name @bot_name = name end |
#bots=(adapters) ⇒ Object
8 9 10 |
# File 'lib/telegram/controller.rb', line 8 def bots= adapters @bots = adapters end |
#explicit_response? ⇒ Boolean
23 24 25 |
# File 'lib/telegram/controller.rb', line 23 def explicit_response? @explicit_response end |
#message=(payload) ⇒ Object
18 19 20 |
# File 'lib/telegram/controller.rb', line 18 def payload = payload end |