Improved hosting

This commit is contained in:
2020-11-26 11:20:21 +01:00
parent 5faac76c32
commit ead0eae5f0
19 changed files with 124 additions and 37 deletions

View File

@@ -0,0 +1,20 @@
from sh_edraft.hosting.base.environment_base import EnvironmentBase
from sh_edraft.hosting.model.environment_name import EnvironmentName
class HostingEnvironment(EnvironmentBase):
def __init__(self, name: EnvironmentName, crp: str):
EnvironmentBase.__init__(self)
self._name = name
self._content_root_path = crp
@property
def name(self) -> EnvironmentName:
return self._name
@property
def content_root_path(self) -> str:
return self._content_root_path