#NEWLINE# def _put( self , url , params = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# response = self . config . http ( ) . put ( ( self . config . base_merchant_path ( ) + url ) , params ) #NEWLINE# if ( 'api_error_response' in response ) : #NEWLINE# #INDENT# return ErrorResult ( self . gateway , response [ 'api_error_response' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# payment_method = self . _parse_payment_method ( response ) #NEWLINE# return SuccessfulResult ( { #NEWLINE# #INDENT# 'payment_method' : payment_method , #NEWLINE# #UNINDENT# } )