Introduce XMLRPC API files. It is not currently functional, but it doesn't break...
[selectricity] / app / controllers / selectricity_service_controller.rb
diff --git a/app/controllers/selectricity_service_controller.rb b/app/controllers/selectricity_service_controller.rb
new file mode 100644 (file)
index 0000000..e1f9f98
--- /dev/null
@@ -0,0 +1,4 @@
+class SelectricityServiceController < ApplicationController
+  web_service_dispatching_mode :delegated
+  web_service :vote, SelectricityService.new
+end

Benjamin Mako Hill || Want to submit a patch?