Improved hosting
This commit is contained in:
20
src/sh_edraft/hosting/hosting_environment.py
Normal file
20
src/sh_edraft/hosting/hosting_environment.py
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user