Skip to content

Commit

Permalink
QrpcObject for serializing as its output only
Browse files Browse the repository at this point in the history
  • Loading branch information
martinpoljak committed Aug 28, 2011
1 parent ff93a53 commit 0fb8f57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/qrpc/protocol/request.rb
Expand Up @@ -38,7 +38,7 @@ class Request < JsonRpcObjects::Request

def self.create(client_id, id, method, arguments = [ ], priority = QRPC::DEFAULT_PRIORITY)
qrpc = QRPC::Protocol::QrpcObject::create(:client => client_id, :priority => priority)
super(method, arguments, :id => id.to_s, :qrpc => qrpc)
super(method, arguments, :id => id.to_s, :qrpc => qrpc.output)
end
end

Expand Down

0 comments on commit 0fb8f57

Please sign in to comment.