Class

Base

A web service API class specifies the methods that will be available for invocation for an API. It also contains metadata such as the method type signature hints.

It is not intended to be instantiated.

It is attached to web service implementation classes like ActionWebService::Base and ActionController::Base derivatives by using container.web_service_api, where container is an ActionController::Base or a ActionWebService::Base.

See ActionWebService::Container::Direct::ClassMethods for an example of use.

Public Methods
api_method API methods have a name, which must be the Ruby method name to use when performing the invocation on the web service object.
api_method_instance The Method instance for the given API method name, if any
api_method_name The corresponding service method name for the given public method name
api_methods A Hash containing all service methods on this API, and their associated metadata.
default_api_method_instance The Method instance for the default API method, if any
has_api_method? Whether the given method name is a service method on this API
has_public_api_method? Whether the given public method name has a corresponding service method on this API
public_api_method_instance The Method instance for the given public API method name, if any
public_api_method_name The corresponding public method name for the given service method name
soap_client
xmlrpc_client
Private Methods
api_public_method_names
validate_options
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.