Skip to content
Browse files

Using body option instead of query on HTTParty PUT calls

  • Loading branch information...
1 parent b1887ad commit c2fc812fb2eb952c4c0ffda1a2ea3f8183697cac @winton committed Oct 19, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/a_b_plugin/lib/a_b_plugin/api.rb
View
2 vendor/a_b_plugin/lib/a_b_plugin/api.rb
@@ -108,7 +108,7 @@ def self.sites(attributes={})
def self.update_test(attributes={})
return unless Config.token && Config.url
base_uri Config.url
- put('/tests.json', :query => compress(
+ put('/tests.json', :body => compress(
:include => attributes.delete(:include),
:only => attributes.delete(:only),
:token => attributes.delete(:token) || Config.token,

0 comments on commit c2fc812

Please sign in to comment.
Something went wrong with that request. Please try again.