Sha256: b4cf3f8a10ad3b5fd235cbdf15362b890e7de224becb3898695bdd9c67d6e62d

Contents?: true

Size: 464 Bytes

Versions: 14

Compression:

Stored size: 464 Bytes

Contents

# encoding: UTF-8
#
# example controller implementing both blogger and metaWeblog APIs
# in a way that should be compatible with clients supporting both/either.
#
# test by pointing your client at http://URL/xmlrpc/api
# 

require 'meta_weblog_service'
require 'blogger_service'

class XmlrpcController < ApplicationController
  web_service_dispatching_mode :layered

  web_service :metaWeblog, MetaWeblogService.new
  web_service :blogger, BloggerService.new
end

Version data entries

14 entries across 14 versions & 3 rubygems

Version Path
keeguon-actionwebservice-3.1.2 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.1.1 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.1.0 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.20 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.19 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.17.4 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.17.3 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.17.2 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.17.1 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.17 examples/metaWeblog/controllers/xmlrpc_controller.rb
keeguon-actionwebservice-3.0.1 examples/metaWeblog/controllers/xmlrpc_controller.rb
axtro-actionwebservice-2.3.5.1.20101118142125 examples/metaWeblog/controllers/xmlrpc_controller.rb
rubyjedi-actionwebservice-2.3.5.20100714122544 examples/metaWeblog/controllers/xmlrpc_controller.rb
rubyjedi-actionwebservice-2.3.5.20100618223219 examples/metaWeblog/controllers/xmlrpc_controller.rb