lib/thrift_client/connection/base.rb in thrift_client-0.4.0 vs lib/thrift_client/connection/base.rb in thrift_client-0.4.1
- old
+ new
@@ -1,20 +1,19 @@
module Connection
class Base
attr_accessor :transport, :server
- def initialize(transport, transport_wrapper, server, timeout, error_hash)
+ def initialize(transport, transport_wrapper, server, timeout)
@transport = transport
@transport_wrapper = transport_wrapper
@server = server
@timeout = timeout
- @error_type = error_hash[:handles_error]
end
def connect!
raise NotImplementedError
end
def close
end
end
-end
\ No newline at end of file
+end