Try new_resource instead of @new_resource
Release 0.3.19

Try new_resource instead of @new_resource