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