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 policies_query_resource(object)
      return {} unless object
      policy_profile_klass = collection_class(:policy_profiles)
      (object.kind_of?(policy_profile_klass)) ? object.members : object_policies(object)
    end
def policies_query_resource ( object ) return { } unless object policy_profile_klass = collection_class ( :policy_profiles ) ( object . kind_of? ( policy_profile_klass ) ) ? object . members : object_policies ( object ) end
Policies and Policy Profiles Subcollection Supporting Methods
Policies and Policy Profiles Subcollection Supporting Methods
object
<not_specific>