lib/chillout/client.rb in chillout-0.2.3 vs lib/chillout/client.rb in chillout-0.3.0

- old
+ new

@@ -1,22 +1,20 @@ require 'forwardable' require 'chillout/server_side' require 'chillout/http_client' -require 'chillout/error_filter' require 'chillout/dispatcher' require 'chillout/config' -require 'chillout/error' require 'chillout/event_data_builder' require 'chillout/prefixed_logger' require 'chillout/worker' require 'thread' module Chillout class Client extend Forwardable - def_delegators :@dispatcher, :dispatch_error, :send_error, :send_creations + def_delegators :@dispatcher, :send_creations attr_reader :config attr_reader :logger attr_reader :queue @@ -28,10 +26,9 @@ @logger = PrefixedLogger.new("Chillout", @config.logger) @http_client = HttpClient.new(@config, logger).freeze @event_data_builder = EventDataBuilder.new(@config).freeze @server_side = ServerSide.new(@event_data_builder, @http_client).freeze - @filter = ErrorFilter.new @dispatcher = Dispatcher.new(@filter, @server_side).freeze @queue = Queue.new end def enqueue(creations)