#NEWLINE# def validate_google_status( self , response ) : #NEWLINE# #INDENT# "Method validates only google's status." #NEWLINE# self . status_code = response . json ( ) [ 'status' ] #NEWLINE# if ( self . status_code != self . STATUS_OK ) : #NEWLINE# #INDENT# message = ( '%s' % dict ( self . STATUS_CODES ) . get ( self . status_code ) ) #NEWLINE# raise ApiClientException ( self ) #NEWLINE# #UNINDENT# return self . status_code