Sha256: bfbafbfce47bc95ec17d70f76161611090b2d6e1380e3462fd6da6b720575863

Contents?: true

Size: 293 Bytes

Versions: 1

Compression:

Stored size: 293 Bytes

Contents

require 'wamp_client/connection'

module WampRailsTest
  class TestConnection < WampClient::Connection

    def open
      EM.run do
        self.session = WampRailsTest::TestSession.new
        @on_join.call(self.session, {})
      end
    end

    def close
      EM.stop
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wamp_rails-0.0.2 spec/support/test_connection.rb