Module: ActionWebService::API::ActionController
- Defined in:
- lib/action_web_service/api/action_controller.rb
Overview
:nodoc:
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
-
.append_features(base) ⇒ Object
:nodoc:.
Class Method Details
.append_features(base) ⇒ Object
:nodoc:
4 5 6 7 8 9 10 11 12 |
# File 'lib/action_web_service/api/action_controller.rb', line 4 def self.append_features(base) # :nodoc: base.class_eval do class << self alias_method :inherited_without_api, :inherited alias_method :web_service_api_without_require, :web_service_api end end base.extend(ClassMethods) end |