@staticmethod<EOL><INDENT>def new(namespace, name, wdl, synopsis,<EOL>documentation=None, api_url=fapi.PROD_API_ROOT):<DEDENT>
r = fapi.update_workflow(namespace, name, synopsis,<EOL>wdl, documentation, api_url)<EOL>fapi._check_response_code(r, <NUM_LIT>)<EOL>d = r.json()<EOL>return Method(namespace, name, d["<STR_LIT>"])<EOL>
Create new FireCloud method.

        If the namespace + name already exists, a new snapshot is created.

        Args:
            namespace (str): Method namespace for this method
            name (str): Method name
            wdl (file): WDL description
            synopsis (str): Short description of task
            documentation (file): Extra documentation for method