lib/mambanation/request.rb in mambanation-0.1.14 vs lib/mambanation/request.rb in mambanation-0.1.15
- old
+ new
@@ -9,9 +9,10 @@
def self.post(client, path, options={})
new(client, :post, path, options).perform
end
def self.put(client, path, options={})
+ options[:body] ||= ""
new(client, :put, path, options).perform
end
def self.delete(client, path, options={})
new(client, :delete, path, options).perform