lib/lelylan/request.rb in lelylan-rb-0.0.3 vs lib/lelylan/request.rb in lelylan-rb-0.0.4

- old
+ new

@@ -38,10 +38,10 @@ # service. # authenticate - The Boolean value that authenticate the user. # raw - The Boolean value let return the complete response. # force_urlencoded - The Boolean value that force the url encoding. def request(method, path, options, authenticate, raw, version, force_urlencoded) - response = connection(authenticate, raw, version, force_urlencoded, path).send(method) do |request| + response = connection(method, path, authenticate, raw, version, force_urlencoded).send(method) do |request| case method when :delete, :get request.url(path, options) when :patch, :post, :put request.url(path)