Since response_pattern is being used in more than one place looks like should be defined as a CONSTANT for the module.