Method: ActionWebService::Invocation::InstanceMethods#perform_invocation_with_interception

Defined in:
lib/action_web_service/invocation.rb

#perform_invocation_with_interception(method_name, params, &block) ⇒ Object



133
134
135
136
137
138
# File 'lib/action_web_service/invocation.rb', line 133

def perform_invocation_with_interception(method_name, params, &block)
  return if before_invocation(method_name, params, &block) == false
  return_value = perform_invocation_without_interception(method_name, params)
  after_invocation(method_name, params, return_value)
  return_value
end