Sha256: de5550e01a707655d414fedfd95922ddfbf796363433c71f67fc76c1a775a03a
Contents?: true
Size: 645 Bytes
Versions: 25
Compression:
Stored size: 645 Bytes
Contents
module Slack module Web class Client include Faraday::Connection include Faraday::Request include Api::Endpoints attr_accessor(*Config::ATTRIBUTES) def initialize(options = {}) Slack::Web::Config::ATTRIBUTES.each do |key| send("#{key}=", options[key] || Slack::Web.config.send(key)) end @logger ||= Slack::Config.logger || Slack::Logger.default @token ||= Slack.config.token end class << self def configure block_given? ? yield(Config) : Config end def config Config end end end end end
Version data entries
25 entries across 25 versions & 1 rubygems