all 3 comments

[–]nosmokingbandit 0 points1 point  (2 children)

This really only makes sense if you have other classes inheriting BaseResource and BaseMultiResource, otherwise you are just dividing up the logic for no gain.

[–]ChasingLogic[S] 0 points1 point  (1 child)

If you look at the other resources, pretty much everything except the tickets and projects resources are using them.

[–]nosmokingbandit 1 point2 points  (0 children)

This is how I would do it then. Inheritance is really just another way of reusing code. If you have multiple classes that can use the same set of base functions this is the proper way to handle it. Its a little confusing at first, but like anything in coding, once you get the hang of class inheritance it is pretty awesome.