Sha256: 9b930dc890a0d7f0fb1700e2ac4d6d7a6a89d679113f8f6cfb6a16fd4641ff6f

Contents?: true

Size: 211 Bytes

Versions: 9

Compression:

Stored size: 211 Bytes

Contents

module Slack
  module Config
    extend self

    attr_accessor :token
  end

  class << self
    def configure
      block_given? ? yield(Config) : Config
    end

    def config
      Config
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slack-ruby-client-0.5.2 lib/slack/config.rb
slack-ruby-client-0.5.1 lib/slack/config.rb
slack-ruby-client-0.5.0 lib/slack/config.rb
slack-ruby-client-0.4.0 lib/slack/config.rb
slack-ruby-client-0.3.1 lib/slack/config.rb
slack-ruby-client-0.3.0 lib/slack/config.rb
slack-ruby-client-0.2.1 lib/slack/config.rb
slack-ruby-client-0.2.0 lib/slack/config.rb
slack-ruby-client-0.1.0 lib/slack/config.rb