lib/washbullet/request.rb in washbullet-0.3.1 vs lib/washbullet/request.rb in washbullet-0.4.0
- old
+ new
@@ -13,10 +13,10 @@
end
private
def request(method, path, params = {})
- response = connection.send(method) {|request|
+ connection.send(method) {|request|
request.url path
request.params = params if method == :get
request.body = params if method == :post
}
end