Sha256: bfdd884e460fdb1b9359e32467b6126401fb7632f5705dbc7b6f3a8407629c9c
Contents?: true
Size: 541 Bytes
Versions: 1
Compression:
Stored size: 541 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 end class << self def configure block_given? ? yield(Config) : Config end def config Config end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.2.0 | lib/slack/web/client.rb |