lib/external_services/api.rb in external_services-0.1.4 vs lib/external_services/api.rb in external_services-0.1.5

- old
+ new

@@ -58,10 +58,10 @@ def fake? !connection end - def fake_response_body(method, path, params = {}) + def fake_response_body(method, _path, _params = {}) (method == :post ? { 'id' => SecureRandom.hex } : {}) end def request(method, path, params = {}, body = nil) resp = if fake?