From ea5bd8e75664e3d6e3c4bf51ba033f67ce9069f0 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 7 Nov 2005 09:52:56 +0000 Subject: Fix docs (closes #2679) [coffee2code] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/lib/action_web_service/api.rb | 4 ++-- .../action_web_service/container/action_controller_container.rb | 8 ++++---- .../lib/action_web_service/container/delegated_container.rb | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'actionwebservice/lib') diff --git a/actionwebservice/lib/action_web_service/api.rb b/actionwebservice/lib/action_web_service/api.rb index baf7856c6c..a0d0af6267 100644 --- a/actionwebservice/lib/action_web_service/api.rb +++ b/actionwebservice/lib/action_web_service/api.rb @@ -18,7 +18,7 @@ module ActionWebService # :nodoc: class_inheritable_option :inflect_names, true # Whether to allow ActiveRecord::Base models in :expects. - # The default is +false+, you should be aware of the security implications + # The default is +false+; you should be aware of the security implications # of allowing this, and ensure that you don't allow remote callers to # easily overwrite data they should not have access to. class_inheritable_option :allow_active_record_expects, false @@ -43,7 +43,7 @@ module ActionWebService # :nodoc: # A signature is an array of one or more parameter specifiers. # A parameter specifier can be one of the following: # - # * A symbol or string of representing one of the Action Web Service base types. + # * A symbol or string representing one of the Action Web Service base types. # See ActionWebService::SignatureTypes for a canonical list of the base types. # * The Class object of the parameter type # * A single-element Array containing one of the two preceding items. This diff --git a/actionwebservice/lib/action_web_service/container/action_controller_container.rb b/actionwebservice/lib/action_web_service/container/action_controller_container.rb index d5afff09bb..b74b5ba6d4 100644 --- a/actionwebservice/lib/action_web_service/container/action_controller_container.rb +++ b/actionwebservice/lib/action_web_service/container/action_controller_container.rb @@ -25,12 +25,12 @@ module ActionWebService # :nodoc: # now exist on the controller, and calling it will return the # XML-RPC client object for working with that remote service. # - # +options+ is the set of protocol client specific options, - # see a protocol client class for details. + # +options+ is the set of protocol client specific options (see + # a protocol client class for details). # # If your API definition does not exist on the load path with the - # correct rules for it to be found using +name+, you can pass through - # the API definition class in +options+, using a key of :api + # correct rules for it to be found using +name+, you can pass in + # the API definition class via +options+, using a key of :api def web_client_api(name, protocol, endpoint_uri, options={}) unless method_defined?(name) api_klass = options.delete(:api) || require_web_service_api(name) diff --git a/actionwebservice/lib/action_web_service/container/delegated_container.rb b/actionwebservice/lib/action_web_service/container/delegated_container.rb index 4a1ee93e09..12a857e4e3 100644 --- a/actionwebservice/lib/action_web_service/container/delegated_container.rb +++ b/actionwebservice/lib/action_web_service/container/delegated_container.rb @@ -11,7 +11,7 @@ module ActionWebService # :nodoc: end module ClassMethods - # Declares a web service that will provides access to the API of the given + # Declares a web service that will provide access to the API of the given # +object+. +object+ must be an ActionWebService::Base derivative. # # Web service object creation can either be _immediate_, where the object -- cgit v1.2.3