Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Rename worker arguments to match the names used by Bunny #54
This changes the names of the variables passed to Sneakers workers, so that they match the names used in Bunny. Reading the source code of both libraries is confusing because of the arbitrarily different names.
It also makes the code seem odd when delivery_info is referred to as
def work_with_params(msg, hdrs, props) headers = props[:headers] # if these are "headers", what are "hdrs"? ... end