Sha256: cc338f28710406819e5983b24404d852d65d3a14ecea0cd78385c7272d0819a0
Contents?: true
Size: 520 Bytes
Versions: 4
Compression:
Stored size: 520 Bytes
Contents
module Slack module RealTime module Config extend self ATTRIBUTES = [ :token, :websocket_ping, :websocket_proxy ] attr_accessor(*Config::ATTRIBUTES) def reset self.websocket_ping = 30 self.websocket_proxy = nil self.token = nil end end class << self def configure block_given? ? yield(Config) : Config end def config Config end end end end Slack::RealTime::Config.reset
Version data entries
4 entries across 4 versions & 1 rubygems