<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_method_name(resource, method_type):
 """ Generate a method name for this resource based on the method type. """

        return '{}_{}'.format(method_type.lower(), resource.Meta.name.lower())