aboutsummaryrefslogtreecommitdiffstats
path: root/actionwebservice/lib/action_web_service/base.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionwebservice/lib/action_web_service/base.rb')
-rw-r--r--actionwebservice/lib/action_web_service/base.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/actionwebservice/lib/action_web_service/base.rb b/actionwebservice/lib/action_web_service/base.rb
index 16e4d87f41..5675a5bd2b 100644
--- a/actionwebservice/lib/action_web_service/base.rb
+++ b/actionwebservice/lib/action_web_service/base.rb
@@ -25,12 +25,16 @@ module ActionWebService # :nodoc:
# api_method :delete_person, :expects => [:int]
# end
#
- # class SearchCriteria < ActionStruct::Base
+ # class SearchCriteria < ActionWebService::Struct
# member :firstname, :string
# member :lastname, :string
# member :email, :string
# end
class Base
+ # Action WebService subclasses should be reloaded by the dispatcher in Rails
+ # when Dependencies.mechanism = :load.
+ include Reloadable::Subclasses
+
# Whether to report exceptions back to the caller in the protocol's exception
# format
class_inheritable_option :web_service_exception_reporting, true