Refactor restful helper method to resource class