Change the static list of actions (METHODS_ONE_PARAM, METHODS_TWO_PARAMS, METHODS_THREE_PARAMS) and make a first call to foaas operations in order to gather all the available operations and create dynamically all the needed methods for the user. Also instead of using different lists for the number of arguments a user can pass, exploit the available fields that are return by the foaas API.
Change the static list of actions (METHODS_ONE_PARAM, METHODS_TWO_PARAMS, METHODS_THREE_PARAMS) and make a first call to foaas operations in order to gather all the available operations and create dynamically all the needed methods for the user. Also instead of using different lists for the number of arguments a user can pass, exploit the available fields that are return by the foaas API.