Skip to content

Commit

Permalink
Use "message" instead of "envelope"
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 17, 2014
1 parent 4f270f3 commit 5ffc729
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/droonga/client/connection/droonga_protocol.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,12 +149,12 @@ def subscribe(message, options={}, &block)
# Sends low level request. Normally, you should use other
# convenience methods.
#
# @param envelope [Hash] Request envelope.
# @param message [Hash] Request message.
# @param options [Hash] The options to send request.
# TODO: WRITE ME
# @return [void]
def send(envelope, options={}, &block)
@logger.post("message", envelope)
def send(message, options={}, &block)
@logger.post("message", message)
end

# Close the connection. This connection can't be used anymore.
Expand Down

0 comments on commit 5ffc729

Please sign in to comment.