Sha256: 6a30770a8150c7657a98cf71b6a6f87efc4c5d6ec54537e0d813a8672e391d48

Contents?: true

Size: 228 Bytes

Versions: 2

Compression:

Stored size: 228 Bytes

Contents

module SlackRTMApi
  class ClientWrapper
    attr_accessor :url, :socket

    def initialize(url, socket)
      @url    = url
      @socket = socket
    end

    def write(*args)
      self.socket.write(*args)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
slack-rtm-api-0.1.0 lib/slack-rtm-api/client_wrapper.rb
slack-rtm-api-0.0.1 lib/slack-rtm-api/client_wrapper.rb