Permalink
Browse files

removed comment

  • Loading branch information...
1 parent 21eadf0 commit 5f19a98acb4220862dd4668a886d3df95ad8efd2 @dscataglini dscataglini committed Sep 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/databasedotcom/client.rb
@@ -311,7 +311,7 @@ def within_request(path, opts = {}, parameters={}, headers={})
req = Net::HTTP.new(URI.parse(self.instance_url).host, 443)
req.use_ssl = true
encoded_path = prepare_encoded_path_from(path, parameters)
- log_request(encoded_path, opts[:data]) #data is passed only in post
+ log_request(encoded_path, opts[:data])
result = yield(req, encoded_path)
log_response(result)
raise SalesForceError.new(result) unless result.is_a?(opts[:expected_result_class] || Net::HTTPSuccess)

0 comments on commit 5f19a98

Please sign in to comment.