Hash_for_*_path and hash_for_*_url arguments

I’ve been looking for some documentation on the hash_for_* helper
methods that are generated from the resource routing, but can’t find
much. What are the expected parameters, etc?