lib/stir/rest/endpoints.rb in stir-2.2.1 vs lib/stir/rest/endpoints.rb in stir-2.2.2

- old
+ new

@@ -40,10 +40,10 @@ end private def endpoint(name, method, &block) send(:define_method, name) do |*args| - @response = HTTParty.send(method, URI.escape(yield.interpolate(args.first)), merge_configs(args.flatten.first)) + @response = HTTParty.send(method, yield.interpolate(args.first), merge_configs(args.flatten.first)) end endpoints.push({name => yield.to_s}) end def endpoints