def get_service(self, name):
     return CloudFoundryService.from_dict(self._get_json_or_exception("services/%s" % name), self)
Exemple #2
0
 def get_service(self, name):
     return CloudFoundryService.from_dict(self._get_json_or_exception("services/%s" % name), self)
 def get_services(self):
     return [CloudFoundryService.from_dict(service, self) for service in self._get_json_or_exception("services/")]
Exemple #4
0
 def get_services(self):
     return [CloudFoundryService.from_dict(service, self) for service in self._get_json_or_exception("services/")]