api_helper.rb
# Invokes the named function, in the named application in the named compartment
# with the payload (if any).
# Returns an instance of OCI::Response
Invokes the named function, in the named application in the named compartment
with the payload (if any).
Returns an instance of OCI::Response
Invokes the named function in the named application in the named compartment with the payload ( if any ) . Returns an instance of OCI :: Response
def invoke_function(compartment_name:, app_name:, function_name:, payload: nil)
  fn = function(
    function_name: function_name,
    app_name: app_name,
    compartment_name: compartment_name
  )
  opts = {:invoke_function_body => payload}
  fn_invocation_client(target_function: fn).invoke_function(fn.id, opts)
end
def invoke_function ( compartment_name : , app_name : , function_name : , payload : nil ) fn = function ( function_name : function_name , app_name : app_name , compartment_name : compartment_name ) opts = { :invoke_function_body => payload } fn_invocation_client ( target_function : fn ) . invoke_function ( fn . id , opts ) end
Invokes the named function, in the named application in the named compartment
with the payload (if any).
Invokes the named function in the named application in the named compartment with the payload ( if any ) .
compartment_name
app_name
function_name
payload