Sha256: e39258a02d1abc2ac9b99d4ab17d0ccb3d71495abba185135380e2478ffaa4d3
Contents?: true
Size: 660 Bytes
Versions: 11
Compression:
Stored size: 660 Bytes
Contents
require_relative "slack/error" require_relative "slack/configuration" require_relative "slack/api" require_relative "slack/client" require_relative "slack/version" module Slack extend Configuration # Alias for Slack::Client.new # # @return [Slack::Client] def self.client(options={}) Slack::Client.new(options) end # Delegate to Slack::Client def self.method_missing(method, *args, &block) return super unless client.respond_to?(method) client.send(method, *args, &block) end # Delegate to Slack::Client def self.respond_to?(method, include_all=false) return client.respond_to?(method, include_all) || super end end
Version data entries
11 entries across 11 versions & 2 rubygems