Class: RubyVibe::SetWebhook

Inherits:
Object
  • Object
show all
Defined in:
lib/ruby-vibe/shortcuts.rb

Overview

Class Method Summary collapse

Class Method Details

.[](opts = {}) ⇒ Object

Note:

Configuration constants must be defined to use shortcut classes



61
62
63
# File 'lib/ruby-vibe/shortcuts.rb', line 61

def self.[](opts = {})
  Bot.new.set_webhook(opts)
end