#NEWLINE# def create( self , params = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) : #NEWLINE# #INDENT# Resource . verify_keys ( params , Subscription . create_signature ( ) ) #NEWLINE# response = self . config . http ( ) . post ( ( self . config . base_merchant_path ( ) + '/subscriptions' ) , { #NEWLINE# #INDENT# 'subscription' : params , #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( 'subscription' in response ) : #NEWLINE# #INDENT# return SuccessfulResult ( { #NEWLINE# #INDENT# 'subscription' : Subscription ( self . gateway , response [ 'subscription' ] ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( 'api_error_response' in response ) : #NEWLINE# #INDENT# return ErrorResult ( self . gateway , response [ 'api_error_response' ] )