Class: Quandl::Slack::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/quandl/slack/base.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



6
7
8
# File 'lib/quandl/slack/base.rb', line 6

def client
  @client
end

Class Method Details

.clientObject



8
9
10
# File 'lib/quandl/slack/base.rb', line 8

def self.client
  @client = ::Slack::Notifier.new Quandl::Slack.configuration.webhook_url, customizations
end

.customizationsObject



12
# File 'lib/quandl/slack/base.rb', line 12

def self.customizations; end

.ping(*args) ⇒ Object



14
15
16
# File 'lib/quandl/slack/base.rb', line 14

def self.ping(*args)
  client.ping(*args)
end