Permalink
Browse files

client side request method can now accept options

  • Loading branch information...
arya committed Jun 21, 2009
1 parent 96f582d commit e3f4ad847e0d9c64dc6c3486d5b0817ca9779c8b
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/pandemic/client_side/cluster_connection.rb
@@ -40,7 +40,8 @@ def [](key)
@connection_proxies[key]
end
- def request(body, key = nil, options = {})
+ def request(body, key = nil, options = nil)
+ key, options = nil, key if key.is_a?(Hash)
with_connection(key) do |socket|
begin
flags = []

0 comments on commit e3f4ad8

Please sign in to comment.