Files
mayan-edms/mayan/apps/rest_api/classes.py
T
2018-04-01 20:00:38 -04:00

11 lines
203 B
Python

from __future__ import unicode_literals
class Endpoint(object):
def __init__(self, label):
self.label = label
@property
def url(self):
return '/api/{}/'.format(self.label)