def resource_path()

in src/openwhisk/openwhisk.py [0:0]


    def resource_path(self, namespace, id=None):
        path = 'namespaces/'+namespace+'/'+self.resource

        if id is not None:
            path += '/'+id

        return path