Class: RubyVibe::SendMessage
- Inherits:
-
Object
- Object
- RubyVibe::SendMessage
- Defined in:
- lib/ruby-vibe/shortcuts.rb
Overview
Note:
Configuration constants must be defined to use this class.
Shortcut to initialize Bot and send message.
Class Method Summary collapse
-
.[](opts = {}) ⇒ Data#response
Send message to user.
Class Method Details
.[](opts = {}) ⇒ Data#response
Send message to user.
27 28 29 |
# File 'lib/ruby-vibe/shortcuts.rb', line 27 def self.[](opts = {}) Bot.new.(opts) end |