The Method instance for the default API method, if any
Source Code
# File action_web_service/api.rb, line 139 def default_api_method_instance return nil unless name = default_api_method instance = read_inheritable_attribute("default_api_method_instance") if instance && instance.name == name return instance end instance = Method.new(name, public_api_method_name(name), nil, nil) write_inheritable_attribute("default_api_method_instance", instance) instance end
<code/>and<pre/>for code samples.