(self, service_id)
return service_details
Returns get_service_details response json.
        :return: a JSON-serializable dictionary matching the format of the JSON
                 response for fastly_client.get_service_details()
                 ("/service/%s/details") request.
Returns get_service_details response json.
        :return: a JSON-serializable dictionary matching the format of the JSON
                 response for fastly_client.get_service_details()
                 ("/service/%s/details") request.
Returns get_service_details response json . : return : a JSON - serializable dictionary matching the format of the JSON response for fastly_client . get_service_details () ( / service / %s / details ) request .
def get_service_details(self, service_id):
        """
        Returns get_service_details response json.
        :return: a JSON-serializable dictionary matching the format of the JSON
                 response for fastly_client.get_service_details()
                 ("/service/%s/details") request.
        """
        version_details = self.fastly_cache[service_id]['service_details']
        service_details = {
            u'id': service_id,
            u'name': self.fastly_cache[service_id]['service_name'],
            u'customer_id': "hTE5dRlSBICGPJxJwCH4M",
            u'comment': "",
            u"updated_at": "2012-06-14T21:20:19+00:00",
            u"created_at": "2012-06-14T21:20:19+00:00",
            u"publish_key": "xgdbdd93h5066f8d330c276fDe00f9d293abfex7",
            u'versions': [version_details]}

        return service_details
def get_service_details ( self , service_id ) : version_details = self . fastly_cache [ service_id ] [ 'service_details' ] service_details = { u'id' : service_id , u'name' : self . fastly_cache [ service_id ] [ 'service_name' ] , u'customer_id' : "hTE5dRlSBICGPJxJwCH4M" , u'comment' : "" , u"updated_at" : "2012-06-14T21:20:19+00:00" , u"created_at" : "2012-06-14T21:20:19+00:00" , u"publish_key" : "xgdbdd93h5066f8d330c276fDe00f9d293abfex7" , u'versions' : [ version_details ] } return service_details