method

add_interception_conditions

rails latest stable - Class: ActionWebService::Invocation::ClassMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1.2.6) is shown here.

add_interception_conditions(interceptors, conditions)
private

No documentation available.

# File actionwebservice/lib/action_web_service/invocation.rb, line 114
        def add_interception_conditions(interceptors, conditions)
          return unless conditions
          included, excluded = conditions[:only], conditions[:except]
          write_inheritable_hash("included_intercepted_methods", condition_hash(interceptors, included)) && return if included
          write_inheritable_hash("excluded_intercepted_methods", condition_hash(interceptors, excluded)) if excluded
        end