lib/httpclient.rb
# Sends PUT request to the specified URL.  See request for arguments.
Sends PUT request to the specified URL.  See request for arguments.
Sends PUT request to the specified URL . See request for arguments .
def put(uri, *args, &block)
    if hashy_argument_has_keys(args, :query, :body)
      new_args = args[0]
    else
      new_args = argument_to_hash(args, :body, :header)
    end
    request(:put, uri, new_args, &block)
  end
def put ( uri , * args , & block ) if hashy_argument_has_keys ( args , :query , :body ) new_args = args [ 0 ] else new_args = argument_to_hash ( args , :body , :header ) end request ( :put , uri , new_args , & block ) end
Sends PUT request to the specified URL.
Sends PUT request to the specified URL .
uri
<not_specific>
args
<not_specific>
block
<not_specific>