api_helper.rb
# Returns the list of functions in the named application
# in the named compartment
Returns the list of functions in the named application
in the named compartment
Returns the list of functions in the named application in the named compartment
def functions(app_name:, compartment_name:)
  fn_management_client
    .list_functions(
      app_ocid(
        app_name: app_name,
        compartment_name: compartment_name
      ),
      limit: 50
    ).collect(&:data).flatten
end
def functions ( app_name : , compartment_name : ) fn_management_client . list_functions ( app_ocid ( app_name : app_name , compartment_name : compartment_name ) , limit : 50 ) . collect ( & :data ) . flatten end
Returns the list of functions in the named application
in the named compartment
Returns the list of functions in the named application in the named compartment
app_name
compartment_name