def __init__(self, method, return_dct):
self.method = method<EOL>if isinstance(return_dct, dict):<EOL><INDENT>self.return_dct = return_dct<EOL><DEDENT>elif isinstance(return_dct, str):<EOL><INDENT>self.return_dct = load_json(return_dct)<EOL><DEDENT>else:<EOL><INDENT>raise TypeError('<STR_LIT>'<EOL>'<STR_LIT>')<EOL><DEDENT>
Creates and initiates a new MethodMock with the given details

:param method: The HTTP method we are mocking
:param return_dct: The python dct to returned, or the URL for a JSON
    file to return