Browse files

Revert "optionally send queryies using POST"

This reverts commit 2bcb1bb.
  • Loading branch information...
1 parent e9e6f8f commit 81ca5809b4eb9a25f70b0508a5fd2a05619ffea9 @scotchi scotchi committed Jan 10, 2013
Showing with 1 addition and 5 deletions.
  1. +1 −5 Ruby/lib/directededge/item.rb
View
6 Ruby/lib/directededge/item.rb
@@ -139,11 +139,7 @@ def resource
def query(type, options)
@query_cache[type] ||= {}
- if options[:method] == 'POST'
- @query_cache[type][options] ||= XML.parse_list(type, resource[type].post(options))
- else
- @query_cache[type][options] ||= XML.parse_list(type, resource[type][options].get)
- end
+ @query_cache[type][options] ||= XML.parse_list(type, resource[type][options].get)
end
def to_xml(data_method, with_header = true)

0 comments on commit 81ca580

Please sign in to comment.