app/controllers/api_controller/policies.rb
#
# Policies and Policy Profiles Subcollection Supporting Methods
#
Policies and Policy Profiles Subcollection Supporting Methods
Policies and Policy Profiles Subcollection Supporting Methods
def policy_subcollection_action(ctype, policy)
      if policy.present?
        result = yield if block_given?
      else
        result = action_result(false, "Must specify a valid #{ctype} href or guid")
      end
      add_parent_href_to_result(result)
      add_subcollection_resource_to_result(result, ctype, policy)
      log_result(result)
      result
    end
def policy_subcollection_action ( ctype , policy ) if policy . present? result = yield if block_given? else result = action_result ( false , "Must specify a valid #{ctype} href or guid" ) end add_parent_href_to_result ( result ) add_subcollection_resource_to_result ( result , ctype , policy ) log_result ( result ) result end
Policies and Policy Profiles Subcollection Supporting Methods
Policies and Policy Profiles Subcollection Supporting Methods
ctype
<not_specific>
policy
<not_specific>