aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 09:52:56 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-11-07 09:52:56 +0000
commitea5bd8e75664e3d6e3c4bf51ba033f67ce9069f0 (patch)
tree695d01c12d23bd9125f0269b6a5cc0d6a04db0c7 /actionwebservice/lib/action_web_service
parent6ab9f2bb407194ada0973301d55525ad79e1ff78 (diff)
downloadrails-ea5bd8e75664e3d6e3c4bf51ba033f67ce9069f0.tar.gz
rails-ea5bd8e75664e3d6e3c4bf51ba033f67ce9069f0.tar.bz2
rails-ea5bd8e75664e3d6e3c4bf51ba033f67ce9069f0.zip
Fix docs (closes #2679) [coffee2code]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2909 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionwebservice/lib/action_web_service')
-rw-r--r--actionwebservice/lib/action_web_service/api.rb4
-rw-r--r--actionwebservice/lib/action_web_service/container/action_controller_container.rb8
-rw-r--r--actionwebservice/lib/action_web_service/container/delegated_container.rb2
3 files changed, 7 insertions, 7 deletions
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 <tt>:expects</tt>.
- # 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 <tt>:api</tt>
+ # correct rules for it to be found using +name+, you can pass in
+ # the API definition class via +options+, using a key of <tt>:api</tt>
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