#NEWLINE# def projects( self , method = GET , **kwargs ) : #NEWLINE# #INDENT# 'An interface to the Rundeck `projects` API endpoint support\n\n        :Parameters:\n            method : str\n                GET will retrieve a project, POST will create a project\n\n        :return: A :class:`~.rundeck.connection.RundeckResponse`\n        :rtype: :class:`~.rundeck.connection.RundeckResponse`\n        ' #NEWLINE# if ( method == GET ) : #NEWLINE# #INDENT# return self . _get_projects ( ** kwargs ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( self == POST ) : #NEWLINE# #INDENT# return self . _post_projects ( ** kwargs )