Class: Slackr::Webhook

Inherits:
Object
  • Object
show all
Defined in:
lib/slackr.rb

Overview

support for backwards compatibility

Instance Method Summary collapse

Constructor Details

#initialize(team, token, options = {}) ⇒ Webhook

Returns a new instance of Webhook.



40
41
42
# File 'lib/slackr.rb', line 40

def initialize(team, token, options = {})
  warn "[DEPRECATION] `Slackr::Webhook.new` is deprecated.  Please use `Slackr.connect` instead."
end