lib/sinatra/cometio/client.rb in sinatra-cometio-0.2.0 vs lib/sinatra/cometio/client.rb in sinatra-cometio-0.3.0
- old
+ new
@@ -1,10 +1,10 @@
require File.expand_path '../../sinatra-cometio/version', File.dirname(__FILE__)
require 'event_emitter'
require 'httparty'
require 'json'
-class CometIO
+module CometIO
class Client
class Error < StandardError
end
include EventEmitter