lib/xclarity_client/services/xclarity_management_mixin.rb
# Return any listname described on resource
Return any listname described on resource
Return any listname described on resource
def any_listname_of(resource)
      if resource::LIST_NAME.kind_of?(Array)
        resource::LIST_NAME.first 
      else
        resource::LIST_NAME 
      end
    end
def any_listname_of ( resource ) if resource :: LIST_NAME . kind_of? ( Array ) resource :: LIST_NAME . first else resource :: LIST_NAME end end
Return any listname described on resource
Return any listname described on resource
# If is an array, any listname can be use # If is not an array, just return the listname of resource
resource