def get_service(self, name):
     return CloudFoundryService.from_dict(self._get_json_or_exception("services/%s" % name), self)
Exemplo n.º 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/")]
Exemplo n.º 4
0
 def get_services(self):
     return [CloudFoundryService.from_dict(service, self) for service in self._get_json_or_exception("services/")]