Sha256: 9d39961520a6dd1d29ebefa8bc4203140e8f90e2b85c16de67374c8f1b599b86

Contents?: true

Size: 446 Bytes

Versions: 94

Compression:

Stored size: 446 Bytes

Contents

#
# 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

94 entries across 94 versions & 28 rubygems

Version Path
rq-3.3.0 rails/vendor/rails/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
rq-3.4.0 rails/vendor/rails/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.0.2 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.0.1 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.0.3.98.1 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.0.3.98 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.0 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.1.1 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.1.2 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.1.3 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.1 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.1.98 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.2 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb
typo-5.3 vendor/actionwebservice/examples/metaWeblog/controllers/xmlrpc_controller.rb